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

Unified Diff: LayoutTests/fast/forms/suggestion-picker/week-suggestion-picker-step-attribute.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 | « LayoutTests/fast/forms/suggestion-picker/week-suggestion-picker-mouse-operations.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/forms/suggestion-picker/week-suggestion-picker-step-attribute.html
diff --git a/LayoutTests/fast/forms/suggestion-picker/week-suggestion-picker-step-attribute.html b/LayoutTests/fast/forms/suggestion-picker/week-suggestion-picker-step-attribute.html
index 68bd6d0a6d1ebc918622bceadcc3ee25e2b2aa26..85062b8edad052f9d996f940e78c6db31a5c9d2c 100644
--- a/LayoutTests/fast/forms/suggestion-picker/week-suggestion-picker-step-attribute.html
+++ b/LayoutTests/fast/forms/suggestion-picker/week-suggestion-picker-step-attribute.html
@@ -48,7 +48,7 @@ function test1() {
shouldBeEqualToString('entryValues()[4]', '2012-01-29');
shouldBeEqualToString('entryValues()[5]', '@openCalendarPicker');
- eventSender.keyDown('\x1B'); // Close picker.
+ eventSender.keyDown('escape'); // Close picker.
waitUntilClosing(test1AfterClosing);
}
@@ -65,7 +65,7 @@ function test2() {
shouldBeEqualToString('entryValues()[1]', '2012-01-26');
shouldBeEqualToString('entryValues()[2]', '@openCalendarPicker');
- eventSender.keyDown('\x1B'); // Close picker.
+ eventSender.keyDown('escape'); // Close picker.
waitUntilClosing(test2AfterClosing);
}
« no previous file with comments | « LayoutTests/fast/forms/suggestion-picker/week-suggestion-picker-mouse-operations.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698