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

Unified Diff: LayoutTests/fast/events/menu-key-context-menu.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/fast/events/menu-key-context-menu.html
diff --git a/LayoutTests/fast/events/menu-key-context-menu.html b/LayoutTests/fast/events/menu-key-context-menu.html
index 83f0a5574d32ab1f797043c772cc743ec210b583..586d182d1835610bf03992353490617fb8199ecf 100644
--- a/LayoutTests/fast/events/menu-key-context-menu.html
+++ b/LayoutTests/fast/events/menu-key-context-menu.html
@@ -32,7 +32,7 @@ function test() {
eventSender.mouseMoveTo(x, y);
eventSender.contextClick();
// Esc key to hide context menu
- eventSender.keyDown(String.fromCharCode(0x001B));
+ eventSender.keyDown("escape");
anchor.focus();
eventSender.keyDown("menu");
« no previous file with comments | « LayoutTests/fast/events/key-events-in-input-text.html ('k') | LayoutTests/fast/events/menu-key-context-menu-document.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698