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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/image/input-image-submit.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/image/input-image-submit.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/image/input-image-submit.html b/third_party/WebKit/LayoutTests/fast/forms/image/input-image-submit.html
index 91dfebfff47f11ede7b40ba50039e589f7ccbba4..8bc2368cff68e7ae69e66fe9cf899343967048f8 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/image/input-image-submit.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/image/input-image-submit.html
@@ -106,7 +106,7 @@ function startTests() {
state.value = 'to-image-on-submit';
image.type = 'text';
image.focus();
- eventSender.keyDown('\n');
+ eventSender.keyDown('Enter');
} else if (query.indexOf('state=to-image-on-submit') != -1) {
// Should have image.x and image.y, but their values are 0.
if (query.indexOf('image.x=0&image.y=0&image=value') == -1) {

Powered by Google App Engine
This is Rietveld 408576698