Index: LayoutTests/fast/forms/suggestion-picker/week-suggestion-picker-step-attribute.html |
diff --git a/LayoutTests/fast/forms/suggestion-picker/week-suggestion-picker-step-attribute.html b/LayoutTests/fast/forms/suggestion-picker/week-suggestion-picker-step-attribute.html |
index 68bd6d0a6d1ebc918622bceadcc3ee25e2b2aa26..85062b8edad052f9d996f940e78c6db31a5c9d2c 100644 |
--- a/LayoutTests/fast/forms/suggestion-picker/week-suggestion-picker-step-attribute.html |
+++ b/LayoutTests/fast/forms/suggestion-picker/week-suggestion-picker-step-attribute.html |
@@ -48,7 +48,7 @@ function test1() { |
shouldBeEqualToString('entryValues()[4]', '2012-01-29'); |
shouldBeEqualToString('entryValues()[5]', '@openCalendarPicker'); |
- eventSender.keyDown('\x1B'); // Close picker. |
+ eventSender.keyDown('escape'); // Close picker. |
waitUntilClosing(test1AfterClosing); |
} |
@@ -65,7 +65,7 @@ function test2() { |
shouldBeEqualToString('entryValues()[1]', '2012-01-26'); |
shouldBeEqualToString('entryValues()[2]', '@openCalendarPicker'); |
- eventSender.keyDown('\x1B'); // Close picker. |
+ eventSender.keyDown('escape'); // Close picker. |
waitUntilClosing(test2AfterClosing); |
} |