Index: LayoutTests/editing/spelling/spelling-should-select-multiple-words.html |
diff --git a/LayoutTests/editing/spelling/spelling-should-select-multiple-words.html b/LayoutTests/editing/spelling/spelling-should-select-multiple-words.html |
index 8a199cb9b8dedac97965f3c645bb394453099ad7..76986e5f5c2caf1a808832dbda8504cd81307878 100644 |
--- a/LayoutTests/editing/spelling/spelling-should-select-multiple-words.html |
+++ b/LayoutTests/editing/spelling/spelling-should-select-multiple-words.html |
@@ -29,7 +29,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"); |