OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource
s/protocol-test.js"></script> | 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto
r-protocol-test.js"></script> |
4 <script> | 4 <script> |
5 | 5 |
6 function test() | 6 function test() |
7 { | 7 { |
8 InspectorTest.eventHandler["Timeline.eventRecorded"] = eventRecorded; | 8 InspectorTest.eventHandler["Timeline.eventRecorded"] = eventRecorded; |
9 | 9 |
10 InspectorTest.sendCommand("Timeline.start", {}); | 10 InspectorTest.sendCommand("Timeline.start", {}); |
11 InspectorTest.sendCommand("Page.enable", {}, pageEnabled); | 11 InspectorTest.sendCommand("Page.enable", {}, pageEnabled); |
12 | 12 |
13 function pageEnabled() | 13 function pageEnabled() |
(...skipping 16 matching lines...) Expand all Loading... |
30 return; | 30 return; |
31 InspectorTest.log("Timeline.eventRecorded: " + type); | 31 InspectorTest.log("Timeline.eventRecorded: " + type); |
32 } | 32 } |
33 } | 33 } |
34 | 34 |
35 </script> | 35 </script> |
36 </head> | 36 </head> |
37 <body onload="runTest()"> | 37 <body onload="runTest()"> |
38 </body> | 38 </body> |
39 </html> | 39 </html> |
OLD | NEW |