Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Unified Diff: LayoutTests/editing/spelling/spelling-on-context-menu-key.html

Issue 484353004: Test tidying: use "escape" and "backspace" with eventSender.keyDown() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: More quoting consistency wibbles Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/editing/spelling/spelling-on-context-menu-key.html
diff --git a/LayoutTests/editing/spelling/spelling-on-context-menu-key.html b/LayoutTests/editing/spelling/spelling-on-context-menu-key.html
index 3d50209792d396b00430e08ec06fc84b5c4c179a..8fcc235d6a41f3ff4cde03876f3df050d2675a4b 100644
--- a/LayoutTests/editing/spelling/spelling-on-context-menu-key.html
+++ b/LayoutTests/editing/spelling/spelling-on-context-menu-key.html
@@ -31,7 +31,7 @@ initSpellTest("destination", "wellcome home.", function(textNode) {
eventSender.keyDown("menu");
// Esc to close the context menu.
- eventSender.keyDown(String.fromCharCode(0x001B));
+ eventSender.keyDown("escape");
shouldBeEqualToString("window.getSelection().toString()", "wellcome");
}

Powered by Google App Engine
This is Rietveld 408576698