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

Unified Diff: third_party/WebKit/Source/devtools/front_end/Tests.js

Issue 2331053002: DevTools: Implement the console prompt with CodeMirror (Closed)
Patch Set: Fix browser tests Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/Tests.js
diff --git a/third_party/WebKit/Source/devtools/front_end/Tests.js b/third_party/WebKit/Source/devtools/front_end/Tests.js
index 4ac330f5240967600ddbb4064e084c6ec658fabf..c92b7e386119098dd87c10c2525e617c00975e4a 100644
--- a/third_party/WebKit/Source/devtools/front_end/Tests.js
+++ b/third_party/WebKit/Source/devtools/front_end/Tests.js
@@ -1110,7 +1110,7 @@ TestSuite.prototype.evaluateInConsole_ = function(code, callback)
WebInspector.context.removeFlavorChangeListener(WebInspector.ExecutionContext, showConsoleAndEvaluate, this);
var consoleView = WebInspector.ConsoleView.instance();
consoleView._prompt.setText(code);
- consoleView._promptElement.dispatchEvent(TestSuite.createKeyEvent("Enter"));
+ consoleView._prompt.element.dispatchEvent(TestSuite.createKeyEvent("Enter"));
this.addSniffer(WebInspector.ConsoleView.prototype, "_consoleMessageAddedForTest",
function(viewMessage) {
« no previous file with comments | « third_party/WebKit/Source/devtools/BUILD.gn ('k') | third_party/WebKit/Source/devtools/front_end/console/ConsolePrompt.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698