| Index: LayoutTests/editing/spelling/input-type-text.html
|
| diff --git a/LayoutTests/editing/spelling/input-type-text.html b/LayoutTests/editing/spelling/input-type-text.html
|
| index 1acb5b4d01e12505f33c0602da0e998f676102a9..e95e901a52e6771601b6b003cd0320c929f31724 100644
|
| --- a/LayoutTests/editing/spelling/input-type-text.html
|
| +++ b/LayoutTests/editing/spelling/input-type-text.html
|
| @@ -26,7 +26,7 @@ initSpellTest("destination", "wellcome home.", function(textNode) {
|
| eventSender.mouseMoveTo(x, y);
|
| eventSender.contextClick();
|
| // Esc key to hide the context menu.
|
| - eventSender.keyDown(String.fromCharCode(0x001B), null);
|
| + eventSender.keyDown("escape", null);
|
|
|
| shouldBeEqualToString("window.getSelection().toString()", "wellcome");
|
| window.getSelection().removeAllRanges();
|
| @@ -37,7 +37,7 @@ initSpellTest("destination", "wellcome home.", function(textNode) {
|
| eventSender.mouseMoveTo(x, y);
|
| eventSender.contextClick();
|
| // Esc key to hide the context menu.
|
| - eventSender.keyDown(String.fromCharCode(0x001B), null);
|
| + eventSender.keyDown("escape", null);
|
|
|
| // Context click should select correctly spelled words only with "win" editing behavior.
|
| if (behaviors[i] == "mac")
|
|
|