blob: 9e6f47ce11cdb9128fadee9333886f2dc168f681 [file] [log] [blame]
<html>
<head>
<script src="../../http/tests/inspector/inspector-test.js"></script>
<script src="../../http/tests/inspector/timeline-test.js"></script>
<script>
function test()
{
WebInspector.showPanel("timeline");
finishCalled = 0;
InspectorTest.startTimeline(function() { InspectorTest.reloadPage(finish); });
InspectorTest.waitForRecordType("MarkDOMContent", contentEvent);
function contentEvent()
{
InspectorTest.stopTimeline(finish);
}
function finish()
{
if (++finishCalled < 2)
return;
InspectorTest.printTimelineRecords("MarkDOMContent");
InspectorTest.completeTest();
}
}
</script>
</head>
<body onload="runTest()">
<p>
Tests the DOM content loaded event.
</p>
</body>
</html>