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

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

Issue 1064853002: Speculative attempt to unflake inspector/console/console-native-function.html (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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.preloadModule("source_frame");
3 InspectorTest.preloadPanel("console"); 4 InspectorTest.preloadPanel("console");
4 5
5 InspectorTest.evaluateInConsole = function(code, callback) 6 InspectorTest.evaluateInConsole = function(code, callback)
6 { 7 {
7 callback = InspectorTest.safeWrap(callback); 8 callback = InspectorTest.safeWrap(callback);
8 9
9 var consoleView = WebInspector.ConsolePanel._view(); 10 var consoleView = WebInspector.ConsolePanel._view();
10 consoleView.visible = true; 11 consoleView.visible = true;
11 consoleView._prompt.setText(code); 12 consoleView._prompt.setText(code);
12 var event = document.createEvent("KeyboardEvent"); 13 var event = document.createEvent("KeyboardEvent");
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 } 304 }
304 if (!option) { 305 if (!option) {
305 InspectorTest.addResult("FAILED: context with prefix: " + namePrefix + " not found in the context list"); 306 InspectorTest.addResult("FAILED: context with prefix: " + namePrefix + " not found in the context list");
306 return; 307 return;
307 } 308 }
308 option.selected = true; 309 option.selected = true;
309 WebInspector.ConsolePanel._view()._executionContextChanged(); 310 WebInspector.ConsolePanel._view()._executionContextChanged();
310 } 311 }
311 312
312 } 313 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698