| Index: LayoutTests/fast/forms/calendar-picker/week-picker-key-operations.html
|
| diff --git a/LayoutTests/fast/forms/calendar-picker/week-picker-key-operations.html b/LayoutTests/fast/forms/calendar-picker/week-picker-key-operations.html
|
| index 15e7e1c2d1e7ecd26fe59f85447388bdc07fe033..0f883190690b210e88d2b6f6fbcc934476962e1a 100644
|
| --- a/LayoutTests/fast/forms/calendar-picker/week-picker-key-operations.html
|
| +++ b/LayoutTests/fast/forms/calendar-picker/week-picker-key-operations.html
|
| @@ -19,7 +19,7 @@ openPicker(document.getElementById('week'), test1);
|
|
|
| function test1() {
|
| debug('Check that page popup exists.');
|
| - shouldBe('popupWindow.pagePopupController.toString()', '"[object PagePopupController]"');
|
| + shouldBeEqualToString('popupWindow.pagePopupController.toString()', '[object PagePopupController]');
|
|
|
| shouldBeFalse('isCalendarTableScrollingWithAnimation()');
|
| shouldBeEqualToString('currentMonth()', '2000-01');
|
| @@ -166,18 +166,18 @@ function test1() {
|
| shouldBeEqualToString('selectedDayCells()', '2000-01-10,2000-01-11,2000-01-12,2000-01-13,2000-01-14,2000-01-15,2000-01-16');
|
| shouldBeEqualToString('highlightedValue()', '2000-W02');
|
| shouldBeEqualToString('highlightedDayCells()', '2000-01-10,2000-01-11,2000-01-12,2000-01-13,2000-01-14,2000-01-15,2000-01-16');
|
| - shouldBe('document.getElementById("week").value', '"2000-W02"');
|
| + shouldBeEqualToString('document.getElementById("week").value', '2000-W02');
|
|
|
| debug('Check if tabbing works.');
|
| - shouldBe('focusedElement()', '".list-view calendar-table-view"');
|
| + shouldBeEqualToString('focusedElement()', '.list-view calendar-table-view');
|
| eventSender.keyDown('\t', ['shiftKey']);
|
| - shouldBe('focusedElement()', '".calendar-navigation-button"');
|
| + shouldBeEqualToString('focusedElement()', '.calendar-navigation-button');
|
| eventSender.keyDown('\t', ['shiftKey']);
|
| - shouldBe('focusedElement()', '".calendar-navigation-button today-button"');
|
| + shouldBeEqualToString('focusedElement()', '.calendar-navigation-button today-button');
|
| eventSender.keyDown('\t', ['shiftKey']);
|
| - shouldBe('focusedElement()', '".calendar-navigation-button"');
|
| + shouldBeEqualToString('focusedElement()', '.calendar-navigation-button');
|
| eventSender.keyDown('\t', ['shiftKey']);
|
| - shouldBe('focusedElement()', '".month-popup-button"');
|
| + shouldBeEqualToString('focusedElement()', '.month-popup-button');
|
|
|
| debug('open the month popup');
|
| eventSender.keyDown('\n');
|
| @@ -241,7 +241,7 @@ function test1() {
|
| shouldBeTrue('testToday() || testToday()');
|
|
|
| debug("press esc");
|
| - eventSender.keyDown('\x1B');
|
| + eventSender.keyDown('escape');
|
| waitUntilClosing(test2AfterClosing);
|
| }
|
|
|
|
|