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.assert = function(result, message) | 8 InspectorTest.assert = function(result, message) |
9 { | 9 { |
10 if (!result) { | 10 if (!result) { |
11 InspectorTest.log("FAIL: " + message); | 11 InspectorTest.log("FAIL: " + message); |
12 InspectorTest.completeTest(); | 12 InspectorTest.completeTest(); |
13 } | 13 } |
(...skipping 30 matching lines...) Expand all Loading... |
44 InspectorTest.sendCommand("Console.enable", {}); | 44 InspectorTest.sendCommand("Console.enable", {}); |
45 | 45 |
46 InspectorTest.sendCommand("Runtime.evaluate", { expression: "console.log('te
stUnique'); for (var i = 0; i < 2; ++i) console.log('testDouble');" }); | 46 InspectorTest.sendCommand("Runtime.evaluate", { expression: "console.log('te
stUnique'); for (var i = 0; i < 2; ++i) console.log('testDouble');" }); |
47 } | 47 } |
48 | 48 |
49 </script> | 49 </script> |
50 </head> | 50 </head> |
51 <body onload="runTest()"> | 51 <body onload="runTest()"> |
52 </body> | 52 </body> |
53 </html> | 53 </html> |
OLD | NEW |