| 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 c92b7e386119098dd87c10c2525e617c00975e4a..0089a703d0c7c5f4630543b97f59ef58e2a50b63 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/Tests.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/Tests.js
|
| @@ -1109,8 +1109,7 @@ TestSuite.prototype.evaluateInConsole_ = function(code, callback)
|
| {
|
| WebInspector.context.removeFlavorChangeListener(WebInspector.ExecutionContext, showConsoleAndEvaluate, this);
|
| var consoleView = WebInspector.ConsoleView.instance();
|
| - consoleView._prompt.setText(code);
|
| - consoleView._prompt.element.dispatchEvent(TestSuite.createKeyEvent("Enter"));
|
| + consoleView._prompt._appendCommand(code);
|
|
|
| this.addSniffer(WebInspector.ConsoleView.prototype, "_consoleMessageAddedForTest",
|
| function(viewMessage) {
|
|
|