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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/space-scroll-textinput-canceled.html

Issue 2100243002: Remove non-standardize key code names from event_sender. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix inspector tests that were missed by sed Created 4 years, 6 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/fast/events/space-scroll-textinput-canceled.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/space-scroll-textinput-canceled.html b/third_party/WebKit/LayoutTests/fast/events/space-scroll-textinput-canceled.html
index 84ca7464a76a48346d8780923c6c604937604469..b4e6523bd984358770e946e26244968cd0becd4b 100644
--- a/third_party/WebKit/LayoutTests/fast/events/space-scroll-textinput-canceled.html
+++ b/third_party/WebKit/LayoutTests/fast/events/space-scroll-textinput-canceled.html
@@ -30,14 +30,14 @@ txt.addEventListener('textInput', function(e) {
function focusAndPressSpace()
{
document.getElementById('txt').focus();
- // Leave some space for pageUp
+ // Leave some space for PageUp
document.scrollingElement.scrollTop = window.innerHeight / 2;
- eventSender.keyDown("pageUp", []);
- // Space key shouldn't cancel pageUp
+ eventSender.keyDown("PageUp", []);
+ // Space key shouldn't cancel PageUp
eventSender.keyDown(" ", []);
- // pageUp should finish
+ // PageUp should finish
shouldBecomeEqual("document.scrollingElement.scrollTop", "0", finishJSTest);
}

Powered by Google App Engine
This is Rietveld 408576698