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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/focus-change-on-keypress.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/forms/focus-change-on-keypress.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/focus-change-on-keypress.html b/third_party/WebKit/LayoutTests/fast/forms/focus-change-on-keypress.html
index 4b124efa900344b452ed2ab2c52948293f90671b..2159ae78eadaab1ede95d5ab4d4473f4a1594ca2 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/focus-change-on-keypress.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/focus-change-on-keypress.html
@@ -20,7 +20,7 @@ function runTest(name, shouldChangeSelection) {
element.focus();
eventSender.keyDown('a');
eventSender.leapForward(100);
- eventSender.keyDown(name == 'textarea' ? '\n' : 'b');
+ eventSender.keyDown(name == 'textarea' ? 'Enter' : 'b');
eventSender.leapForward(100);
if (shouldChangeSelection) {
element.selectionStart = 1;

Powered by Google App Engine
This is Rietveld 408576698