Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / spelling / spelling-with-whitespace-selection.html
index 26ac2f3..17cd5b5 100644 (file)
@@ -34,7 +34,7 @@ initSpellTest("destination", "hello, 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");