Index: LayoutTests/editing/spelling/spelling-exactly-selected-multiple-words.html |
diff --git a/LayoutTests/editing/spelling/spelling-exactly-selected-multiple-words.html b/LayoutTests/editing/spelling/spelling-exactly-selected-multiple-words.html |
index 2a59ca45fad3c18dd50d433b5cb0e6c2e67bfa20..37f574289a94a3c6cf915664546da8ca8b7adff9 100644 |
--- a/LayoutTests/editing/spelling/spelling-exactly-selected-multiple-words.html |
+++ b/LayoutTests/editing/spelling/spelling-exactly-selected-multiple-words.html |
@@ -34,7 +34,7 @@ initSpellTest("destination", "It should be upper case.", function(textNode) { |
eventSender.mouseMoveTo(x, y); |
contextMenuElements = eventSender.contextClick(); |
// Esc key to hide the context menu. |
- eventSender.keyDown(String.fromCharCode(0x001B), null); |
+ eventSender.keyDown("escape", null); |
spellingMarkerRange = internals.markerRangeForNode(textNode, "spelling", 0); |
shouldBeEqualToString("spellingMarkerRange.toString()", "upper case"); |