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

Side by Side Diff: LayoutTests/http/tests/inspector/console-test.js

Issue 16143005: monitor console command implemented. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixing windows build. Created 7 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 | Annotate | Revision Log
OLDNEW
1 var initialize_ConsoleTest = function() { 1 var initialize_ConsoleTest = function() {
2 2
3 InspectorTest.showConsolePanel = function() 3 InspectorTest.showConsolePanel = function()
4 { 4 {
5 WebInspector.showPanel("console"); 5 WebInspector.showPanel("console");
6 WebInspector.drawer.immediatelyFinishAnimation(); 6 WebInspector.drawer.immediatelyFinishAnimation();
7 } 7 }
8 8
9 InspectorTest.dumpConsoleMessages = function(printOriginatingCommand, dumpClassN ames) 9 InspectorTest.dumpConsoleMessages = function(printOriginatingCommand, dumpClassN ames)
10 { 10 {
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 if (m._parameters) 81 if (m._parameters)
82 InspectorTest.addResult("FAILED: message parameters list is not empty: " + m._parameters); 82 InspectorTest.addResult("FAILED: message parameters list is not empty: " + m._parameters);
83 else 83 else
84 InspectorTest.addResult("SUCCESS: message parameters list is emp ty. "); 84 InspectorTest.addResult("SUCCESS: message parameters list is emp ty. ");
85 } else { 85 } else {
86 InspectorTest.addResult("FAILED: didn't find _parameters field in th e message."); 86 InspectorTest.addResult("FAILED: didn't find _parameters field in th e message.");
87 } 87 }
88 } 88 }
89 } 89 }
90 90
91 InspectorTest.waitUntilMessageReceived = function(callback)
vsevik 2013/06/10 15:06:01 Please use InspectorTest.addConsoleSniffer instead
SeRya 2013/06/11 08:24:12 addConsoleSniffer doesn't work because it is also
92 {
93 InspectorTest.addSniffer(WebInspector.console, "addMessage", callback, false );
91 } 94 }
95
96 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698