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

Unified Diff: LayoutTests/fast/forms/resources/input-live-pseudo-selectors.js

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/forms/resources/input-live-pseudo-selectors.js
diff --git a/LayoutTests/fast/forms/resources/input-live-pseudo-selectors.js b/LayoutTests/fast/forms/resources/input-live-pseudo-selectors.js
index f42912f12aa4509ae82bddbc9e0690545f2359d6..a677c5e2550684055032fb46c9ef2b65be08f938 100644
--- a/LayoutTests/fast/forms/resources/input-live-pseudo-selectors.js
+++ b/LayoutTests/fast/forms/resources/input-live-pseudo-selectors.js
@@ -82,7 +82,7 @@ el = makeInvalid();
el.focus();
eventSender.keyDown('a');
shouldBe(elBackground, 'validColor');
-eventSender.keyDown('\x08', []);
+eventSender.keyDown('backspace', []);
shouldBe(elBackground, 'invalidColor');
// --------------------------------

Powered by Google App Engine
This is Rietveld 408576698