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

Unified Diff: LayoutTests/editing/selection/context-menu-text-selection.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
« no previous file with comments | « LayoutTests/editing/selection/5354455-1.html ('k') | LayoutTests/editing/spelling/input-type-text.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/selection/context-menu-text-selection.html
diff --git a/LayoutTests/editing/selection/context-menu-text-selection.html b/LayoutTests/editing/selection/context-menu-text-selection.html
index b25dea8d12c9cf55bc89120524cfbe643d984984..86f4a899713ef6df405e3d567a899def4f3e687b 100644
--- a/LayoutTests/editing/selection/context-menu-text-selection.html
+++ b/LayoutTests/editing/selection/context-menu-text-selection.html
@@ -22,7 +22,7 @@ function test(platform, selectionExpected, result)
eventSender.mouseMoveTo(x, y);
eventSender.contextClick();
// esc key to kill the context menu
- eventSender.keyDown(String.fromCharCode(0x001B), null);
+ eventSender.keyDown("escape", null);
var resultElement = document.getElementById(result);
var selectionType = window.getSelection().type;
« no previous file with comments | « LayoutTests/editing/selection/5354455-1.html ('k') | LayoutTests/editing/spelling/input-type-text.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698