Index: LayoutTests/editing/selection/5354455-1.html |
diff --git a/LayoutTests/editing/selection/5354455-1.html b/LayoutTests/editing/selection/5354455-1.html |
index f626ee7d8cedd957445b884519398c51880470c6..6361c2e2200f788ccf0b44a08e77539aca87bb35 100644 |
--- a/LayoutTests/editing/selection/5354455-1.html |
+++ b/LayoutTests/editing/selection/5354455-1.html |
@@ -23,7 +23,7 @@ function test(platform, result) { |
// Right click on the paragraph break to select it. |
eventSender.contextClick(); |
// esc key to kill the context menu. |
- eventSender.keyDown(String.fromCharCode(0x001B), null); |
+ eventSender.keyDown("escape", null); |
document.getElementById(result).innerHTML = window.getSelection().type; |
} |