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

Unified Diff: LayoutTests/editing/undo/undo-deleteWord.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/undo/undo-deleteWord.html
diff --git a/LayoutTests/editing/undo/undo-deleteWord.html b/LayoutTests/editing/undo/undo-deleteWord.html
index 824f44938b722fb7ee22aa508859215e8757d951..9760bd153f6ecbcdec401c873a4476343bb4668a 100644
--- a/LayoutTests/editing/undo/undo-deleteWord.html
+++ b/LayoutTests/editing/undo/undo-deleteWord.html
@@ -27,7 +27,7 @@ function sendDeleteWordKey()
deleteWordModifiers = ["ctrlKey"];
if (window.eventSender)
- eventSender.keyDown(String.fromCharCode(8), deleteWordModifiers);
+ eventSender.keyDown("backspace", deleteWordModifiers);
window.setTimeout(undoNow, 100);
}

Powered by Google App Engine
This is Rietveld 408576698