| Index: LayoutTests/inspector/timeline/timeline-load-event.html
|
| diff --git a/LayoutTests/inspector/timeline/timeline-load-event.html b/LayoutTests/inspector/timeline/timeline-load-event.html
|
| index 9c1dc43d122d70813f7ee792c577d63884f1cd9f..a1c8c0d067e089918e0de2ea3c071948eb8c223b 100644
|
| --- a/LayoutTests/inspector/timeline/timeline-load-event.html
|
| +++ b/LayoutTests/inspector/timeline/timeline-load-event.html
|
| @@ -6,21 +6,15 @@
|
|
|
| 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");
|
|
|