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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/number/number-outofrange.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/number/number-outofrange.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/number/number-outofrange.html b/third_party/WebKit/LayoutTests/fast/forms/number/number-outofrange.html
index 4c1bf7d052979f97340a5cefd2ea8b0f1bb81b75..b171576c2cadcbe23a2b45295b505995262d589f 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/number/number-outofrange.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/number/number-outofrange.html
@@ -21,21 +21,21 @@ function sendKeyEvent(element, key)
}
debug('Pressing the down arrow key on an input field of which value is lower than the minimum:');
-sendKeyEvent(lower, 'downArrow');
+sendKeyEvent(lower, 'ArrowDown');
var unchanged = "-10";
shouldBe('lower.value', 'unchanged');
debug('Pressing the up arrow key on the input:');
-sendKeyEvent(lower, 'upArrow');
+sendKeyEvent(lower, 'ArrowUp');
shouldBe('lower.value', 'lower.min');
debug('Pressing the up arrow key on an input field of which value is higher than the maximum:');
-sendKeyEvent(higher, 'upArrow');
+sendKeyEvent(higher, 'ArrowUp');
unchanged = "200";
shouldBe('higher.value', 'unchanged');
debug('Pressing the down arrow key on the input:');
-sendKeyEvent(higher, 'downArrow');
+sendKeyEvent(higher, 'ArrowDown');
shouldBe('higher.value', 'higher.max');
parent.innerHTML = '';

Powered by Google App Engine
This is Rietveld 408576698