OLD | NEW |
| (Empty) |
1 <html> | |
2 <head> | |
3 <script src="../../http/tests/inspector/inspector-test.js"></script> | |
4 <script src="../../http/tests/inspector/timeline-test.js"></script> | |
5 <script> | |
6 | |
7 function test() | |
8 { | |
9 InspectorTest.startTimeline(function() { InspectorTest.reloadPage(pageReload
ed); }); | |
10 | |
11 function pageReloaded() | |
12 { | |
13 InspectorTest.stopTimeline(finish); | |
14 } | |
15 | |
16 function finish() | |
17 { | |
18 InspectorTest.addResult("Model records:"); | |
19 InspectorTest.printTimelineRecords("MarkDOMContent"); | |
20 InspectorTest.printTimelineRecords("MarkLoad"); | |
21 InspectorTest.addResult("Timestamp records:"); | |
22 InspectorTest.printTimestampRecords("MarkDOMContent"); | |
23 InspectorTest.printTimestampRecords("MarkLoad"); | |
24 InspectorTest.completeTest(); | |
25 } | |
26 } | |
27 | |
28 </script> | |
29 </head> | |
30 | |
31 <body onload="runTest()"> | |
32 <p> | |
33 Tests the load event. | |
34 </p> | |
35 | |
36 </body> | |
37 </html> | |
OLD | NEW |