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

Unified Diff: LayoutTests/editing/deleting/delete-by-word-002.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/deleting/delete-by-word-002.html
diff --git a/LayoutTests/editing/deleting/delete-by-word-002.html b/LayoutTests/editing/deleting/delete-by-word-002.html
index 895079497fbd65b96e0b1e3fdab0cbf132341023..7a6cc3aef3bc09ac3cd65b6324cd6d15ad2a0322 100644
--- a/LayoutTests/editing/deleting/delete-by-word-002.html
+++ b/LayoutTests/editing/deleting/delete-by-word-002.html
@@ -46,7 +46,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 | « LayoutTests/editing/deleting/delete-by-word-001.html ('k') | LayoutTests/editing/deleting/delete-ligature-001.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698