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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/date-multiple-fields/date-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/date-multiple-fields/date-multiple-fields-mouse-events.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/date-multiple-fields/date-multiple-fields-mouse-events.html b/third_party/WebKit/LayoutTests/fast/forms/date-multiple-fields/date-multiple-fields-mouse-events.html
index 7f5ae99fc86d60afbb23f4d73579229a3d287392..4b0e709e47f15d901c289ecb4ed6ec4d5a0d5b3c 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/date-multiple-fields/date-multiple-fields-mouse-events.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/date-multiple-fields/date-multiple-fields-mouse-events.html
@@ -44,7 +44,7 @@ onload = function() {
debug('==> Focus on the month field.');
mouseClickOn(12, center);
- keyDown('upArrow');
+ keyDown('ArrowUp');
shouldBeEqualToString('input.value', '2345-08-19');
mouseClickOn(input.offsetWidth - spinButtonOffset, center - 1);
shouldBeEqualToString('input.value', '2345-09-19');
@@ -55,7 +55,7 @@ onload = function() {
debug('');
debug('==> Focus on the day field.');
mouseClickOn(60, center);
- keyDown('upArrow');
+ keyDown('ArrowUp');
shouldBeEqualToString('input.value', '2345-08-20');
mouseClickOn(input.offsetWidth - spinButtonOffset, center - 1);
shouldBeEqualToString('input.value', '2345-08-21');
@@ -66,7 +66,7 @@ onload = function() {
debug('');
debug('==> Focus on the year field.');
mouseClickOn(input.offsetWidth - 115, center);
- keyDown('upArrow');
+ keyDown('ArrowUp');
shouldBeEqualToString('input.value', '2346-08-20');
mouseClickOn(input.offsetWidth - spinButtonOffset, center - 1);
shouldBeEqualToString('input.value', '2347-08-20');
@@ -78,7 +78,7 @@ onload = function() {
debug('==> Click on a disabled field.');
input.disabled = true;
mouseClickOn(12, center);
- keyDown('upArrow');
+ keyDown('ArrowUp');
shouldBeEqualToString('input.value', '2346-08-20');
input.disabled = false;
@@ -86,7 +86,7 @@ onload = function() {
debug('==> Click on a read-only field.');
input.readOnly = true;
mouseClickOn(12, center);
- keyDown('upArrow');
+ keyDown('ArrowUp');
shouldBeEqualToString('input.value', '2346-08-20');
input.readOnly = false;

Powered by Google App Engine
This is Rietveld 408576698