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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/datetimelocal-multiple-fields/datetimelocal-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/datetimelocal-multiple-fields/datetimelocal-multiple-fields-mouse-events.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-mouse-events.html b/third_party/WebKit/LayoutTests/fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-mouse-events.html
index c5f620f66697fb73372b4fe779f1b9c88e47aae5..e647d0a62ef79cc8dafae674dc3c81a955c34a46 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-mouse-events.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/datetimelocal-multiple-fields/datetimelocal-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-19T10:00');
mouseClickOn(input.offsetWidth - spinButtonOffset, center - 1);
shouldBeEqualToString('input.value', '2345-09-19T10:00');
@@ -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-20T10:00');
mouseClickOn(input.offsetWidth - spinButtonOffset, center - 1);
shouldBeEqualToString('input.value', '2345-08-21T10:00');
@@ -66,7 +66,7 @@ onload = function() {
debug('');
debug('==> Focus on the year field.');
mouseClickOn(108, center);
- keyDown('upArrow');
+ keyDown('ArrowUp');
shouldBeEqualToString('input.value', '2346-08-20T10:00');
mouseClickOn(input.offsetWidth - spinButtonOffset, center - 1);
shouldBeEqualToString('input.value', '2347-08-20T10:00');
@@ -81,7 +81,7 @@ onload = function() {
debug('');
debug('==> Focus on the hour field.');
mouseClickOn(190 + commaOffset, center);
- keyDown('upArrow');
+ keyDown('ArrowUp');
shouldBeEqualToString('input.value', '2346-08-20T11:00');
mouseClickOn(input.offsetWidth - spinButtonOffset, center - 1);
shouldBeEqualToString('input.value', '2346-08-20T00:00');
@@ -92,7 +92,7 @@ onload = function() {
debug('');
debug('==> Focus on the minute field.');
mouseClickOn(240 + commaOffset, center);
- keyDown('upArrow');
+ keyDown('ArrowUp');
shouldBeEqualToString('input.value', '2346-08-20T11:01');
mouseClickOn(input.offsetWidth - spinButtonOffset, center - 1);
shouldBeEqualToString('input.value', '2346-08-20T11:02');
@@ -107,7 +107,7 @@ onload = function() {
debug('==> Click on a disabled field.');
input.disabled = true;
mouseClickOn(12, center);
- keyDown('upArrow');
+ keyDown('ArrowUp');
shouldBeEqualToString('input.value', '2346-08-20T11:01');
input.disabled = false;
@@ -115,7 +115,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-20T11:01');
input.readOnly = false;

Powered by Google App Engine
This is Rietveld 408576698