Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(307)

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-api-repeated-in-console.html

Issue 2942573003: [DevTools] New harness for inspector-protocol layout tests (Closed)
Patch Set: Protocol -> dp Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 var expectedMessages = 4; 8 var expectedMessages = 4;
9 var messages = []; 9 var messages = [];
10 10
11 InspectorTest.eventHandler["Runtime.consoleAPICalled"] = consoleAPICalled; 11 InspectorTest.eventHandler["Runtime.consoleAPICalled"] = consoleAPICalled;
12 InspectorTest.eventHandler["Console.messageAdded"] = messageAdded; 12 InspectorTest.eventHandler["Console.messageAdded"] = messageAdded;
13 InspectorTest.sendCommandOrDie("Runtime.enable", {}); 13 InspectorTest.sendCommandOrDie("Runtime.enable", {});
(...skipping 22 matching lines...) Expand all
36 InspectorTest.log(message); 36 InspectorTest.log(message);
37 InspectorTest.completeTest(); 37 InspectorTest.completeTest();
38 } 38 }
39 } 39 }
40 </script> 40 </script>
41 </head> 41 </head>
42 <body onLoad="runTest();"> 42 <body onLoad="runTest();">
43 Check that console.log is reported through Console domain as well. 43 Check that console.log is reported through Console domain as well.
44 </body> 44 </body>
45 </html> 45 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698