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

Unified Diff: LayoutTests/editing/deleting/delete-by-word-001.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 | « no previous file | LayoutTests/editing/deleting/delete-by-word-002.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/deleting/delete-by-word-001.html
diff --git a/LayoutTests/editing/deleting/delete-by-word-001.html b/LayoutTests/editing/deleting/delete-by-word-001.html
index 4813d53c509b0379f3bd466d7de7d473a9369a15..67aebc10586a190b06c61e9370474a987239916d 100644
--- a/LayoutTests/editing/deleting/delete-by-word-001.html
+++ b/LayoutTests/editing/deleting/delete-by-word-001.html
@@ -52,7 +52,7 @@ function sendDeleteWordKey()
else
deleteWordModifiers = ["ctrlKey"];
if (window.eventSender)
- eventSender.keyDown(String.fromCharCode(8), deleteWordModifiers);
+ eventSender.keyDown("backspace", deleteWordModifiers);
debugForDumpAsText("DeleteWord");
}
« no previous file with comments | « no previous file | LayoutTests/editing/deleting/delete-by-word-002.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698