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

Unified Diff: LayoutTests/fast/events/special-key-events-in-input-text.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/special-key-events-in-input-text.html
diff --git a/LayoutTests/fast/events/special-key-events-in-input-text.html b/LayoutTests/fast/events/special-key-events-in-input-text.html
index ed1781eee49ccd4ba719fadd17ee13f0fff2153b..f875843ac4a69f598a7bd1b4bafc6978ee7f14c1 100644
--- a/LayoutTests/fast/events/special-key-events-in-input-text.html
+++ b/LayoutTests/fast/events/special-key-events-in-input-text.html
@@ -43,19 +43,19 @@ if (window.testRunner) {
log("<br>Ampersand:");
eventSender.keyDown("7", ["shiftKey"]);
log("<br>Backspace:");
- eventSender.keyDown("\x08", []);
+ eventSender.keyDown("backspace", []);
log("<br>Percent:");
eventSender.keyDown("5", ["shiftKey"]);
log("<br>Backspace:");
- eventSender.keyDown("\x08", []);
+ eventSender.keyDown("backspace", []);
log("<br>Left parenthesis:");
eventSender.keyDown("9", ["shiftKey"]);
log("<br>Backspace:");
- eventSender.keyDown("\x08", []);
+ eventSender.keyDown("backspace", []);
log("<br>Right parenthesis:");
eventSender.keyDown("0", ["shiftKey"]);
log("<br>Backspace:");
- eventSender.keyDown("\x08", []);
+ eventSender.keyDown("backspace", []);
log("<br>Print screen:");
eventSender.keyDown("printScreen", []);
}

Powered by Google App Engine
This is Rietveld 408576698