Index: LayoutTests/fast/forms/suggestion-picker/date-suggestion-picker-step-attribute.html |
diff --git a/LayoutTests/fast/forms/suggestion-picker/date-suggestion-picker-step-attribute.html b/LayoutTests/fast/forms/suggestion-picker/date-suggestion-picker-step-attribute.html |
index 7d471a29c2c0a628bb0c044979d265fbaf7b220b..fa5a669ae10ee2fcd4a70edc43e77fb9b4b6dc0f 100644 |
--- a/LayoutTests/fast/forms/suggestion-picker/date-suggestion-picker-step-attribute.html |
+++ b/LayoutTests/fast/forms/suggestion-picker/date-suggestion-picker-step-attribute.html |
@@ -51,7 +51,7 @@ function test1() { |
shouldBeEqualToString('entryValues()[5]', '2012-01-31'); |
shouldBeEqualToString('entryValues()[6]', '@openCalendarPicker'); |
- eventSender.keyDown('\x1B'); // Close picker. |
+ eventSender.keyDown('escape'); // Close picker. |
waitUntilClosing(test1AfterClosing); |
} |
@@ -69,7 +69,7 @@ function test2() { |
shouldBeEqualToString('entryValues()[2]', '2012-01-31'); |
shouldBeEqualToString('entryValues()[3]', '@openCalendarPicker'); |
- eventSender.keyDown('\x1B'); // Close picker. |
+ eventSender.keyDown('escape'); // Close picker. |
waitUntilClosing(test2AfterClosing); |
} |