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

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

Issue 201613004: DevTools: Add context menu option for objects to save to temp variable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: addressed Created 6 years, 9 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
« no previous file with comments | « no previous file | LayoutTests/inspector/console/console-save-to-temp-var.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 var initialize_ConsoleTest = function() { 1 var initialize_ConsoleTest = function() {
2 2
3 3
4 InspectorTest.showConsolePanel = function() 4 InspectorTest.showConsolePanel = function()
5 { 5 {
6 WebInspector.inspectorView.showPanel("console"); 6 WebInspector.inspectorView.showPanel("console");
7 } 7 }
8 8
9 InspectorTest.prepareConsoleMessageText = function(messageElement) 9 InspectorTest.prepareConsoleMessageText = function(messageElement)
10 { 10 {
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 InspectorTest.addResult("FAILED: didn't find _parameters field in th e message."); 149 InspectorTest.addResult("FAILED: didn't find _parameters field in th e message.");
150 } 150 }
151 } 151 }
152 } 152 }
153 153
154 InspectorTest.waitUntilMessageReceived = function(callback) 154 InspectorTest.waitUntilMessageReceived = function(callback)
155 { 155 {
156 InspectorTest.addSniffer(WebInspector.console, "addMessage", callback, false ); 156 InspectorTest.addSniffer(WebInspector.console, "addMessage", callback, false );
157 } 157 }
158 158
159 InspectorTest.waitUntilNthMessageReceived = function(count, callback)
160 {
161 function override()
162 {
163 if (--count === 0)
164 InspectorTest.safeWrap(callback)();
165 else
166 InspectorTest.addSniffer(WebInspector.console, "addMessage", overrid e, false);
167 }
168 InspectorTest.addSniffer(WebInspector.console, "addMessage", override, false );
159 } 169 }
170
171 }
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/inspector/console/console-save-to-temp-var.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698