Index: LayoutTests/fast/events/menu-key-context-menu.html |
diff --git a/LayoutTests/fast/events/menu-key-context-menu.html b/LayoutTests/fast/events/menu-key-context-menu.html |
index 83f0a5574d32ab1f797043c772cc743ec210b583..586d182d1835610bf03992353490617fb8199ecf 100644 |
--- a/LayoutTests/fast/events/menu-key-context-menu.html |
+++ b/LayoutTests/fast/events/menu-key-context-menu.html |
@@ -32,7 +32,7 @@ function test() { |
eventSender.mouseMoveTo(x, y); |
eventSender.contextClick(); |
// Esc key to hide context menu |
- eventSender.keyDown(String.fromCharCode(0x001B)); |
+ eventSender.keyDown("escape"); |
anchor.focus(); |
eventSender.keyDown("menu"); |