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="timeline-test.js"></script> | 4 <script src="timeline-test.js"></script> |
5 <script> | 5 <script> |
6 | 6 |
7 function test() | 7 function test() |
8 { | 8 { |
9 WebInspector.showPanel("timeline"); | 9 WebInspector.showPanel("timeline"); |
10 | 10 |
11 InspectorTest.startTimeline(function() { InspectorTest.reloadPage(); }); | 11 InspectorTest.startTimeline(function() { InspectorTest.reloadPage(); }); |
12 InspectorTest.waitForRecordType("MarkLoad", finish); | 12 InspectorTest.waitForRecordType("MarkLoad", finish); |
13 function finish() | 13 function finish() |
14 { | 14 { |
15 InspectorTest.printTimelineRecords("MarkLoad"); | 15 InspectorTest.printTimelineRecords("MarkLoad"); |
16 InspectorTest.completeTest(); | 16 InspectorTest.completeTest(); |
17 } | 17 } |
18 } | 18 } |
19 | 19 |
20 </script> | 20 </script> |
21 </head> | 21 </head> |
22 | 22 |
23 <body onload="runTest()"> | 23 <body onload="runTest()"> |
24 <p> | 24 <p> |
25 Tests the load event. | 25 Tests the load event. |
26 </p> | 26 </p> |
27 | 27 |
28 </body> | 28 </body> |
29 </html> | 29 </html> |
OLD | NEW |