Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / spelling / spelling-with-underscore-selection.html
index b5b2cde..2abe0d4 100644 (file)
@@ -35,7 +35,7 @@ initSpellTest("destination", "Hi, _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");