OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../../http/tests/inspector/inspector-test.js"></script> |
4 <script src="../../http/tests/inspector/timeline-test.js"></script> | 4 <script src="../../http/tests/inspector/timeline-test.js"></script> |
5 <script> | 5 <script> |
6 | 6 |
7 function test() | 7 function test() |
8 { | 8 { |
9 WebInspector.TimelineModel._doNotAssignEndTime = true; | |
10 finishCalled = 0; | 9 finishCalled = 0; |
11 | 10 |
12 InspectorTest.startTimeline(function() { InspectorTest.reloadPage(finish); }
); | 11 InspectorTest.startTimeline(function() { InspectorTest.reloadPage(finish); }
); |
13 InspectorTest.waitForRecordType("MarkLoad", contentEvent); | 12 InspectorTest.waitForRecordType("MarkLoad", contentEvent); |
14 | 13 |
15 function contentEvent() | 14 function contentEvent() |
16 { | 15 { |
17 InspectorTest.stopTimeline(finish); | 16 InspectorTest.stopTimeline(finish); |
18 } | 17 } |
19 | 18 |
(...skipping 15 matching lines...) Expand all Loading... |
35 </script> | 34 </script> |
36 </head> | 35 </head> |
37 | 36 |
38 <body onload="runTest()"> | 37 <body onload="runTest()"> |
39 <p> | 38 <p> |
40 Tests the load event. | 39 Tests the load event. |
41 </p> | 40 </p> |
42 | 41 |
43 </body> | 42 </body> |
44 </html> | 43 </html> |
OLD | NEW |