Chromium Code Reviews| Index: LayoutTests/fast/forms/calendar-picker/calendar-picker-with-step.html |
| diff --git a/LayoutTests/fast/forms/calendar-picker/calendar-picker-with-step.html b/LayoutTests/fast/forms/calendar-picker/calendar-picker-with-step.html |
| index c3c03aac5ca2b0364f140bc3ea804b05c2629657..e35f84665bc641d2c046ca0042bef6fd36c4edc7 100644 |
| --- a/LayoutTests/fast/forms/calendar-picker/calendar-picker-with-step.html |
| +++ b/LayoutTests/fast/forms/calendar-picker/calendar-picker-with-step.html |
| @@ -23,7 +23,7 @@ function test1() { |
| shouldBeEqualToString('availableDayCells()', '2011-05-08,2011-05-17,2011-05-26,2011-06-04'); |
| // Close popup |
| - eventSender.keyDown('\x1B'); |
| + eventSender.keyDown("escape"); |
|
keishi
2014/08/22 07:22:32
nit: string literals in this file are using single
|
| waitUntilClosing(test1AfterClose); |
| } |
| @@ -36,13 +36,13 @@ function test2() { |
| shouldBeEqualToString('availableDayCells()', '2011-05-02,2011-05-11,2011-05-20,2011-05-29'); |
| // Close popup |
| - eventSender.keyDown('\x1B'); |
| + eventSender.keyDown("escape"); |
|
keishi
2014/08/22 07:22:32
Ditto
|
| waitUntilClosing(test2AfterClose); |
| } |
| function test2AfterClose() { |
| document.getElementById('date').min = '2011-05-01'; |
| - |
| + |
| // Reopen popup |
| openPicker(document.getElementById('date'), test3); |
| } |