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

Unified Diff: third_party/WebKit/LayoutTests/inspector/console/console-viewport-stick-to-bottom.html

Issue 2331053002: DevTools: Implement the console prompt with CodeMirror (Closed)
Patch Set: Merge 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/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..e2d4e7392a5c10b8893be6fe9c5f605586491249 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.element.dispatchEvent(keyEvent);
viewport.element.scrollTop -= 10;
}

Powered by Google App Engine
This is Rietveld 408576698