Index: LayoutTests/fast/events/menu-key-context-menu-document.html |
diff --git a/LayoutTests/fast/events/menu-key-context-menu-document.html b/LayoutTests/fast/events/menu-key-context-menu-document.html |
index 781570313eba57311393376df4f82fa33f7fe8d2..7b6dceaaa2b1448d677d2adab84fc0c46396b508 100644 |
--- a/LayoutTests/fast/events/menu-key-context-menu-document.html |
+++ b/LayoutTests/fast/events/menu-key-context-menu-document.html |
@@ -32,7 +32,7 @@ if (!window.eventSender || !window.testRunner) { |
mouseMoveToElem(anchor); |
eventSender.contextClick(); |
// Esc key to hide context menu |
- eventSender.keyDown(String.fromCharCode(0x001B)); |
+ eventSender.keyDown("escape"); |
anchor.focus(); |
eventSender.keyDown("menu"); |
} |