| Index: third_party/WebKit/LayoutTests/inspector/console/console-viewport-stick-to-bottom.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-viewport-stick-to-bottom.html b/third_party/WebKit/LayoutTests/inspector/console/console-viewport-stick-to-bottom.html
|
| index 2d7a9f52cbe51534aa0c1ffc6ca005de7db5c21e..ce64f7cc741fd5cbab1434e8a61daa5fa525b93c 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/console/console-viewport-stick-to-bottom.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/console/console-viewport-stick-to-bottom.html
|
| @@ -81,7 +81,7 @@ function test()
|
| {
|
| var keyEvent = InspectorTest.createKeyEvent("a");
|
| viewport._contentElement.dispatchEvent(keyEvent);
|
| - consoleView._prompt._proxyElement.dispatchEvent(new Event('input'));
|
| + consoleView._promptElement.dispatchEvent(new Event('input'));
|
|
|
| dumpAndContinue(next);
|
| },
|
| @@ -137,13 +137,13 @@ function test()
|
| var text = "Foo";
|
| for (var i = 0; i < viewportHeight; i++)
|
| text += "\n";
|
| - consoleView._promptElement.textContent = text;
|
| WebInspector.ConsoleView.clearConsole();
|
| + consoleView._prompt.setText(text);
|
| viewport.element.scrollTop -= 10;
|
|
|
| var keyEvent = InspectorTest.createKeyEvent("a");
|
| viewport._contentElement.dispatchEvent(keyEvent);
|
| - consoleView._prompt._proxyElement.dispatchEvent(new Event('input'));
|
| + consoleView._promptElement.dispatchEvent(new Event('input'));
|
|
|
| dumpAndContinue(next);
|
| }
|
| @@ -152,7 +152,7 @@ function test()
|
| function sendPageUp()
|
| {
|
| var keyEvent = InspectorTest.createKeyEvent("PageUp");
|
| - consoleView._prompt._proxyElement.dispatchEvent(keyEvent);
|
| + consoleView._prompt._editor._codeMirror.triggerOnKeyDown(keyEvent);
|
| viewport.element.scrollTop -= 10;
|
| }
|
|
|
|
|