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 testRunner.setDumpConsoleMessages(false); | 6 testRunner.setDumpConsoleMessages(false); |
7 | 7 |
8 function test() | 8 function test() |
9 { | 9 { |
10 InspectorTest.eventHandler["Runtime.consoleAPICalled"] = messageAdded; | 10 InspectorTest.eventHandler["Runtime.consoleAPICalled"] = messageAdded; |
11 InspectorTest.sendCommand("Runtime.enable", {}); | 11 InspectorTest.sendCommand("Runtime.enable", {}); |
12 | 12 |
13 var deprecatedMethods = [ | 13 var deprecatedMethods = [ |
(...skipping 14 matching lines...) Expand all Loading... |
28 InspectorTest.log(text); | 28 InspectorTest.log(text); |
29 if (!--messagesLeft) | 29 if (!--messagesLeft) |
30 InspectorTest.completeTest(); | 30 InspectorTest.completeTest(); |
31 } | 31 } |
32 } | 32 } |
33 </script> | 33 </script> |
34 </head> | 34 </head> |
35 <body onload="runTest()">Tests checks that deprecation messages for console.</bo
dy> | 35 <body onload="runTest()">Tests checks that deprecation messages for console.</bo
dy> |
36 </html> | 36 </html> |
37 | 37 |
OLD | NEW |