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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/calendar-picker/calendar-picker-key-operations.html

Issue 2430183002: Move arrow scrolling into KeyboardEventManager. (Closed)
Patch Set: Add keyEvent() null check to fix test Created 4 years, 2 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/forms/calendar-picker/calendar-picker-key-operations-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/forms/calendar-picker/calendar-picker-key-operations.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/calendar-picker/calendar-picker-key-operations.html b/third_party/WebKit/LayoutTests/fast/forms/calendar-picker/calendar-picker-key-operations.html
index 8bfe749f41b213baec7fd0b2dac8f247b887a72e..6c80f95b3929256335c7870cb326306e90532595 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/calendar-picker/calendar-picker-key-operations.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/calendar-picker/calendar-picker-key-operations.html
@@ -160,16 +160,6 @@ function test1() {
shouldBeEqualToString('highlightedValue()', '1999-12-26');
shouldBeEqualToString('highlightedDayCells()', '1999-12-26');
- debug("press enter");
- removeCommitDelay();
- eventSender.keyDown('Enter');
- shouldBeEqualToString('document.getElementById("date").value', '1999-12-26');
- waitUntilClosing(function() {
- openPicker(document.getElementById("date"), test2);
- });
-}
-
-function test2() {
debug('Check if tabbing works.');
shouldBeEqualToString('focusedElement()', '.list-view calendar-table-view');
eventSender.keyDown('Tab', ['shiftKey']);
@@ -239,7 +229,7 @@ function test2() {
eventSender.keyDown('Enter');
shouldBeFalse('popupWindow.global.picker.monthPopupView.isVisible');
shouldBeEqualToString('currentMonth()', '2000-04');
- shouldBeEqualToString('selectedValue()', '1999-12-26');
+ shouldBeEqualToString('selectedValue()', '2000-01-02');
shouldBeEqualToString('selectedDayCells()', '');
shouldBeEqualToString('highlightedValue()', '1999-12-26');
shouldBeEqualToString('highlightedDayCells()', '');
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/forms/calendar-picker/calendar-picker-key-operations-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698