OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto
r-protocol-test.js"></script> | 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource
s/inspector-protocol-test.js"></script> |
4 <script> | 4 <script> |
5 | 5 |
6 function testFunction() | 6 function testFunction() |
7 { | 7 { |
8 setTimeout(hotFunction, 0); | 8 setTimeout(hotFunction, 0); |
9 } | 9 } |
10 | 10 |
11 var terminated = false; | 11 var terminated = false; |
12 function hotFunction() { | 12 function hotFunction() { |
13 evaluateInFrontend("InspectorTest.didFireTimer()"); | 13 evaluateInFrontend("InspectorTest.didFireTimer()"); |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 InspectorTest.sendCommand("Runtime.evaluate", { "expression": "terminate
d = true;" }); | 53 InspectorTest.sendCommand("Runtime.evaluate", { "expression": "terminate
d = true;" }); |
54 InspectorTest.sendCommand("Debugger.resume", { }); | 54 InspectorTest.sendCommand("Debugger.resume", { }); |
55 InspectorTest.completeTest(); | 55 InspectorTest.completeTest(); |
56 } | 56 } |
57 } | 57 } |
58 </script> | 58 </script> |
59 </head> | 59 </head> |
60 <body onLoad="runTest();"> | 60 <body onLoad="runTest();"> |
61 </body> | 61 </body> |
62 </html> | 62 </html> |
OLD | NEW |