Index: LayoutTests/fast/forms/suggestion-picker/datetimelocal-suggestion-picker-step-attribute.html |
diff --git a/LayoutTests/fast/forms/suggestion-picker/datetimelocal-suggestion-picker-step-attribute.html b/LayoutTests/fast/forms/suggestion-picker/datetimelocal-suggestion-picker-step-attribute.html |
index 1f28815fd9d6132fbe53df2cb7ddca8174530ec8..9418205f70c2ecd0108416c3d51dba223ae4760a 100644 |
--- a/LayoutTests/fast/forms/suggestion-picker/datetimelocal-suggestion-picker-step-attribute.html |
+++ b/LayoutTests/fast/forms/suggestion-picker/datetimelocal-suggestion-picker-step-attribute.html |
@@ -38,7 +38,7 @@ function test1() { |
shouldBeEqualToString('entryValues()[1]', '2012-11-22T02:00'); |
shouldBeEqualToString('entryValues()[2]', '@openCalendarPicker'); |
- eventSender.keyDown('\x1B'); // Close picker. |
+ eventSender.keyDown('escape'); // Close picker. |
waitUntilClosing(test1AfterClosing); |
} |
@@ -57,7 +57,7 @@ function test2() { |
shouldBeEqualToString('entryValues()[3]', '2012-11-22T02:01'); |
shouldBeEqualToString('entryValues()[4]', '@openCalendarPicker'); |
- eventSender.keyDown('\x1B'); // Close picker. |
+ eventSender.keyDown('escape'); // Close picker. |
waitUntilClosing(test2AfterClosing); |
} |
@@ -77,7 +77,7 @@ function test3() { |
shouldBeEqualToString('entryValues()[4]', '2012-11-22T02:01'); |
shouldBeEqualToString('entryValues()[5]', '@openCalendarPicker'); |
- eventSender.keyDown('\x1B'); // Close picker. |
+ eventSender.keyDown('escape'); // Close picker. |
waitUntilClosing(test3AfterClosing); |
} |