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

Unified Diff: LayoutTests/fast/events/menu-key-context-menu-document.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-document.html
diff --git a/LayoutTests/fast/events/menu-key-context-menu-document.html b/LayoutTests/fast/events/menu-key-context-menu-document.html
index 781570313eba57311393376df4f82fa33f7fe8d2..7b6dceaaa2b1448d677d2adab84fc0c46396b508 100644
--- a/LayoutTests/fast/events/menu-key-context-menu-document.html
+++ b/LayoutTests/fast/events/menu-key-context-menu-document.html
@@ -32,7 +32,7 @@ if (!window.eventSender || !window.testRunner) {
mouseMoveToElem(anchor);
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/menu-key-context-menu.html ('k') | LayoutTests/fast/events/special-key-events-in-input-text.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698