Index: LayoutTests/fast/forms/calendar-picker/calendar-picker-datetimelocal-with-step.html |
diff --git a/LayoutTests/fast/forms/calendar-picker/calendar-picker-datetimelocal-with-step.html b/LayoutTests/fast/forms/calendar-picker/calendar-picker-datetimelocal-with-step.html |
index 61935f3eaba83d7b28c21bb6a2d6d500cddaaffd..763c8af2f44a860550b9fed4832eca3d2dd0224f 100644 |
--- a/LayoutTests/fast/forms/calendar-picker/calendar-picker-datetimelocal-with-step.html |
+++ b/LayoutTests/fast/forms/calendar-picker/calendar-picker-datetimelocal-with-step.html |
@@ -21,7 +21,7 @@ function test1() { |
shouldBeEqualToString('availableDayCells()', '2012-10-28,2012-11-01,2012-11-04,2012-11-08,2012-11-11,2012-11-15,2012-11-18,2012-11-22,2012-11-25,2012-11-29'); |
// Close popup |
- eventSender.keyDown('\x1B'); |
+ eventSender.keyDown('escape'); |
waitUntilClosing(test1AfterClose); |
} |
@@ -34,7 +34,7 @@ function test2() { |
shouldBeEqualToString('availableDayCells()', '2012-10-30,2012-11-02,2012-11-06,2012-11-09,2012-11-13,2012-11-16,2012-11-20,2012-11-23,2012-11-27,2012-11-30'); |
// Close popup |
- eventSender.keyDown('\x1B'); |
+ eventSender.keyDown('escape'); |
waitUntilClosing(test2AfterClose); |
} |
@@ -50,7 +50,7 @@ function test3() { |
shouldBeEqualToString('availableDayCells()', '2012-11-16,2012-11-20,2012-11-23,2012-11-27,2012-11-30'); |
// Close popup |
- eventSender.keyDown('\x1B'); |
+ eventSender.keyDown('escape'); |
waitUntilClosing(test3AfterClose); |
} |