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

Side by Side Diff: LayoutTests/fast/forms/calendar-picker/date-picker-choose-default-value-after-set-value-expected.txt

Issue 23851005: Change event isn't firing when the user reverts the value of a color/date/time input after JS cha… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: updated test expectation Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Tests if value selection by calendar picker dispatches correct events. 1 Test if change event fires when the user selects the default value after the val ue was changed by JS.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 Choosing a new value from the calendar picker. "input" and "change" events shoul d be dispatched in this order. 6 PASS input.value is "2000-01-03"
7 PASS eventsCounter.input is undefined.
8 PASS eventsCounter.change is undefined.
7 ==> "input" event was dispatched. 9 ==> "input" event was dispatched.
8 ==> "change" event was dispatched. 10 ==> "change" event was dispatched.
9 PASS date1.value is "2000-01-03" 11 PASS input.value is "2000-01-02"
10 PASS eventsCounter.input is 1 12 PASS eventsCounter.input is 1
11 PASS eventsCounter.change is 1 13 PASS eventsCounter.change is 1
12 Choosing the same value from the calendar picker. No events should be dispatched .
13 PASS date1.value is "2000-01-03"
14 PASS eventsCounter.input is undefined.
15 PASS eventsCounter.change is undefined.
16 PASS successfullyParsed is true 14 PASS successfullyParsed is true
17 15
18 TEST COMPLETE 16 TEST COMPLETE
19 17
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698