projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
WebKit
/
LayoutTests
/
editing
/
spelling
/
input-type-text.html
diff --git
a/src/third_party/WebKit/LayoutTests/editing/spelling/input-type-text.html
b/src/third_party/WebKit/LayoutTests/editing/spelling/input-type-text.html
index
1acb5b4
..
e95e901
100644
(file)
--- a/
src/third_party/WebKit/LayoutTests/editing/spelling/input-type-text.html
+++ b/
src/third_party/WebKit/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.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();
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.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")
// Context click should select correctly spelled words only with "win" editing behavior.
if (behaviors[i] == "mac")