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 test() | 6 function test() |
7 { | 7 { |
8 InspectorTest.sendCommand("Runtime.enable", {}); | 8 InspectorTest.sendCommand("Runtime.enable", {}); |
9 | 9 |
10 addConsoleMessagePromise("console.log(239)") | 10 addConsoleMessagePromise("console.log(239)") |
11 .then(dumpMessage) | 11 .then(dumpMessage) |
12 .then(() => addConsoleMessagePromise("var l = console.log;\n l(239)")) | 12 .then(() => addConsoleMessagePromise("var l = console.log;\n l(239)")) |
13 .then(dumpMessage) | 13 .then(dumpMessage) |
(...skipping 19 matching lines...) Expand all Loading... |
33 InspectorTest.logObject(msg); | 33 InspectorTest.logObject(msg); |
34 } | 34 } |
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> |
42 | 42 |
OLD | NEW |