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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-mouse-events.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/week-multiple-fields/week-multiple-fields-mouse-events.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-mouse-events.html b/third_party/WebKit/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-mouse-events.html
index e925b1de54d2c5f0725cfbf0d517d6b66b7451bf..d0bece4ccd2331b4021b116e62922e51390bf9d1 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-mouse-events.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-mouse-events.html
@@ -44,7 +44,7 @@ onload = function() {
debug('==> Focus on the week field.');
mouseClickOn(100, center);
- keyDown('upArrow');
+ keyDown('ArrowUp');
shouldBeEqualToString('input.value', '2345-W08');
mouseClickOn(input.offsetWidth - spinButtonOffset, center - 1);
shouldBeEqualToString('input.value', '2345-W09');
@@ -55,7 +55,7 @@ onload = function() {
debug('');
debug('==> Focus on the year field.');
mouseClickOn(200, center);
- keyDown('upArrow');
+ keyDown('ArrowUp');
shouldBeEqualToString('input.value', '2346-W08');
mouseClickOn(input.offsetWidth - spinButtonOffset, center - 1);
shouldBeEqualToString('input.value', '2347-W08');
@@ -67,7 +67,7 @@ onload = function() {
debug('==> Click on a disabled field.');
input.disabled = true;
mouseClickOn(100, center);
- keyDown('upArrow');
+ keyDown('ArrowUp');
shouldBeEqualToString('input.value', '2346-W08');
input.disabled = false;
@@ -75,7 +75,7 @@ onload = function() {
debug('==> Click on a read-only field.');
input.readOnly = true;
mouseClickOn(12, center);
- keyDown('upArrow');
+ keyDown('ArrowUp');
shouldBeEqualToString('input.value', '2346-W08');
input.readOnly = false;

Powered by Google App Engine
This is Rietveld 408576698