| 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 d183a277fc3bfe172d0d9d5bc6f0f49917c0ac83..2a14b2710cfdce22c6c9bd9720325d071cba229a 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
|
| @@ -77,13 +77,14 @@ function test()
|
| dumpAndContinue(next);
|
| },
|
|
|
| - function testTypingShouldJumpToBottom(next)
|
| + function testChangingPromptTextShouldJumpToBottom(next)
|
| {
|
| - var keyEvent = InspectorTest.createKeyEvent("a");
|
| - viewport._contentElement.dispatchEvent(keyEvent);
|
| - consoleView._promptElement.dispatchEvent(new Event('input'));
|
| + InspectorTest.addSniffer(Console.ConsoleView.prototype, "_promptTextChangedForTest", onContentChanged);
|
| + var editorElement = consoleView._prompt.setText("a");
|
|
|
| - dumpAndContinue(next);
|
| + function onContentChanged() {
|
| + dumpAndContinue(next);
|
| + }
|
| },
|
|
|
| function testViewportMutationsShouldPreserveStickToBottom(next)
|
|
|