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

Unified Diff: LayoutTests/editing/selection/5354455-1.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/selection/5354455-1.html
diff --git a/LayoutTests/editing/selection/5354455-1.html b/LayoutTests/editing/selection/5354455-1.html
index f626ee7d8cedd957445b884519398c51880470c6..6361c2e2200f788ccf0b44a08e77539aca87bb35 100644
--- a/LayoutTests/editing/selection/5354455-1.html
+++ b/LayoutTests/editing/selection/5354455-1.html
@@ -23,7 +23,7 @@ function test(platform, result) {
// Right click on the paragraph break to select it.
eventSender.contextClick();
// esc key to kill the context menu.
- eventSender.keyDown(String.fromCharCode(0x001B), null);
+ eventSender.keyDown("escape", null);
document.getElementById(result).innerHTML = window.getSelection().type;
}
« no previous file with comments | « LayoutTests/editing/deleting/skip-virama-001.html ('k') | LayoutTests/editing/selection/context-menu-text-selection.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698