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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/validationMessage.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/validationMessage.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/validationMessage.html b/third_party/WebKit/LayoutTests/fast/forms/validationMessage.html
index 8d3cf51472e540648a62cc3c2d245f62425f1cb8..de620c4c9abca90125eaea916807f10666f4827b 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/validationMessage.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/validationMessage.html
@@ -105,7 +105,7 @@ inputWithMax.maxLength = 3;
inputWithMax.value = "abcdef";
document.body.appendChild(inputWithMax);
inputWithMax.focus();
-eventSender.keyDown("backspace");
+eventSender.keyDown("Backspace");
debug("input tooLong: " + inputWithMax.validationMessage);
// fancyX should be treated as 3 characters.
// U+0305 COMBINING OVERLINE
@@ -115,7 +115,7 @@ inputWithMax.maxLength = 2;
inputWithMax.value = fancyX + "X";
inputWithMax.focus();
inputWithMax.setSelectionRange(4, 4);
-eventSender.keyDown("backspace");
+eventSender.keyDown("Backspace");
debug("input tooLong: " + inputWithMax.validationMessage);
// The following test might show English text + Arabic digits. It's expected and
// it never happens in products.
@@ -135,7 +135,7 @@ inputWithMin.minLength = 3;
inputWithMin.value = "ab";
document.body.appendChild(inputWithMin);
inputWithMin.focus();
-eventSender.keyDown("backspace");
+eventSender.keyDown("Backspace");
debug("input tooShort: " + inputWithMin.validationMessage);
// fancyX should be treated as 3 characters.
// U+0305 COMBINING OVERLINE
@@ -145,7 +145,7 @@ inputWithMin.minLength = 4;
inputWithMin.value = fancyX + "X";
inputWithMin.focus();
inputWithMin.setSelectionRange(4, 4);
-eventSender.keyDown("backspace");
+eventSender.keyDown("Backspace");
debug("input tooShort: " + inputWithMin.validationMessage);
// The following test might show English text + Arabic digits. It's expected and
// it never happens in products.

Powered by Google App Engine
This is Rietveld 408576698