| 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 InspectorTest.sendCommand("Timeline.start", { "bufferEvents": true }, onStar
t); | 9 InspectorTest.sendCommand("Timeline.start", { "bufferEvents": true }, onStar
t); |
| 10 | 10 |
| 11 function onStart(response) | 11 function onStart(response) |
| 12 { | 12 { |
| 13 InspectorTest.sendCommand("Runtime.evaluate", { "expression": "0" }, onE
valuate); | 13 InspectorTest.sendCommand("Runtime.evaluate", { "expression": "0" }, onE
valuate); |
| (...skipping 18 matching lines...) Expand all Loading... |
| 32 function eventRecorded(message) | 32 function eventRecorded(message) |
| 33 { | 33 { |
| 34 InspectorTest.log("Event recorded: " + message); | 34 InspectorTest.log("Event recorded: " + message); |
| 35 } | 35 } |
| 36 } | 36 } |
| 37 </script> | 37 </script> |
| 38 </head> | 38 </head> |
| 39 <body onLoad="runTest();"> | 39 <body onLoad="runTest();"> |
| 40 </body> | 40 </body> |
| 41 </html> | 41 </html> |
| OLD | NEW |