| Index: LayoutTests/inspector/timeline/timeline-dom-content-loaded-event.html
|
| diff --git a/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event.html b/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event.html
|
| index fc571e1086dbf7bc09e77b790aa81ec5974b92dc..367f7959a10dec317d211d8bf845d98f4c629305 100644
|
| --- a/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event.html
|
| +++ b/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event.html
|
| @@ -6,20 +6,15 @@
|
|
|
| function test()
|
| {
|
| - finishCalled = 0;
|
| + InspectorTest.startTimeline(function() { InspectorTest.reloadPage(pageReloaded); });
|
|
|
| - InspectorTest.startTimeline(function() { InspectorTest.reloadPage(finish); });
|
| - InspectorTest.waitForRecordType("MarkDOMContent", contentEvent);
|
| -
|
| - function contentEvent()
|
| + function pageReloaded()
|
| {
|
| InspectorTest.stopTimeline(finish);
|
| }
|
|
|
| function finish()
|
| {
|
| - if (++finishCalled < 2)
|
| - return;
|
| InspectorTest.printTimelineRecords("MarkDOMContent");
|
| InspectorTest.completeTest();
|
| }
|
|
|