Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / spelling / spelling-should-select-multiple-words.html
index 8a199cb..76986e5 100644 (file)
@@ -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");