| Index: third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js
|
| index b6c59f2d726633c7726b8575a97f70a2498b7584..020d0f827a08dc64e96c11a72b090b53161ee00f 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js
|
| @@ -21,14 +21,7 @@ InspectorTest.evaluateInConsole = function(code, callback, dontForceMainContext)
|
| callback = InspectorTest.safeWrap(callback);
|
|
|
| var consoleView = WebInspector.ConsoleView.instance();
|
| - consoleView.visible = true;
|
| - consoleView._prompt.setText(code);
|
| - var event = new KeyboardEvent("keydown", {
|
| - key: "Enter",
|
| - bubbles: true,
|
| - cancelable: true
|
| - });
|
| - consoleView._prompt.proxyElementForTests().dispatchEvent(event);
|
| + consoleView._appendCommand(code, true);
|
| InspectorTest.addConsoleViewSniffer(function(commandResult) {
|
| callback(commandResult.toMessageElement().deepTextContent());
|
| });
|
|
|