function test()
{
- finishCalled = 0;
+ InspectorTest.startTimeline(function() { InspectorTest.reloadPage(pageReloaded); });
- InspectorTest.startTimeline(function() { InspectorTest.reloadPage(finish); });
- InspectorTest.waitForRecordType("MarkLoad", contentEvent);
-
- function contentEvent()
+ function pageReloaded()
{
InspectorTest.stopTimeline(finish);
}
function finish()
{
- if (++finishCalled !== 2)
- return;
-
InspectorTest.addResult("Model records:");
InspectorTest.printTimelineRecords("MarkDOMContent");
InspectorTest.printTimelineRecords("MarkLoad");