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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/calendar-picker/calendar-picker-datetimelocal.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/calendar-picker/calendar-picker-datetimelocal.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/calendar-picker/calendar-picker-datetimelocal.html b/third_party/WebKit/LayoutTests/fast/forms/calendar-picker/calendar-picker-datetimelocal.html
index 418f7244030c5289d0b0002e4da3385438c7ce9b..c0d6cefb240bced28f8547cca2a7e20793dd59ea 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/calendar-picker/calendar-picker-datetimelocal.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/calendar-picker/calendar-picker-datetimelocal.html
@@ -21,11 +21,11 @@ function test() {
shouldBeEqualToString('selectedValue()', '2011-12-31');
shouldBeEqualToString('highlightedValue()', '2011-12-31');
- eventSender.keyDown('rightArrow');
+ eventSender.keyDown('ArrowRight');
shouldBeEqualToString('highlightedValue()', '2012-01-01');
removeCommitDelay();
- eventSender.keyDown('\n');
+ eventSender.keyDown('Enter');
shouldBeEqualToString('document.getElementById("datetimelocal").value', '2012-01-01T12:53:45');
finishJSTest();

Powered by Google App Engine
This is Rietveld 408576698