Index: LayoutTests/fast/forms/suggestion-picker/time-suggestion-picker-step-attribute.html |
diff --git a/LayoutTests/fast/forms/suggestion-picker/time-suggestion-picker-step-attribute.html b/LayoutTests/fast/forms/suggestion-picker/time-suggestion-picker-step-attribute.html |
index c9f926e0efca430b83cfbbef2c94a603804bca74..c96ff1c2e3d7580fd4d774f9bab662ff6d006708 100644 |
--- a/LayoutTests/fast/forms/suggestion-picker/time-suggestion-picker-step-attribute.html |
+++ b/LayoutTests/fast/forms/suggestion-picker/time-suggestion-picker-step-attribute.html |
@@ -37,7 +37,7 @@ function test1() { |
shouldBeEqualToString('entryValues()[0]', '01:00'); |
shouldBeEqualToString('entryValues()[1]', '02:00'); |
- eventSender.keyDown('\x1B'); // Close picker. |
+ eventSender.keyDown('escape'); // Close picker. |
waitUntilClosing(test1AfterClosing); |
} |
@@ -55,7 +55,7 @@ function test2() { |
shouldBeEqualToString('entryValues()[2]', '02:00'); |
shouldBeEqualToString('entryValues()[3]', '02:01'); |
- eventSender.keyDown('\x1B'); // Close picker. |
+ eventSender.keyDown('escape'); // Close picker. |
waitUntilClosing(test2AfterClosing); |
} |
@@ -74,7 +74,7 @@ function test3() { |
shouldBeEqualToString('entryValues()[3]', '02:00'); |
shouldBeEqualToString('entryValues()[4]', '02:01'); |
- eventSender.keyDown('\x1B'); // Close picker. |
+ eventSender.keyDown('escape'); // Close picker. |
waitUntilClosing(test3AfterClosing); |
} |