Index: LayoutTests/editing/spelling/spelling-multiword-selection.html |
diff --git a/LayoutTests/editing/spelling/spelling-multiword-selection.html b/LayoutTests/editing/spelling/spelling-multiword-selection.html |
index 677855f2eccd11e9aaead8bc69917794682e1000..50acc1a227ee1d5a295193a13954373b8e974091 100644 |
--- a/LayoutTests/editing/spelling/spelling-multiword-selection.html |
+++ b/LayoutTests/editing/spelling/spelling-multiword-selection.html |
@@ -35,7 +35,7 @@ initSpellTest("destination", "wellcome home.", 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()", "wellcome"); |