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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/events/onchange-js-expected.txt

Issue 2467263002: INPUT/TEXTAREA elements: Dispatch 'change' event even if a user-edit value is overwritten by JS (Closed)
Patch Set: Created 4 years, 1 month 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
OLDNEW
1 This test verifies that the change event is fired, when value is changed in chan ge event handler. 1 This test verifies that the change event is fired, when value is changed by Java Script code.
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 PASS input.value is "foo bar baz" 6 ===> Tests for INPUT[type=text]
7 Value is updated in change event handler.
8 PASS element.value is "foo bar"
7 PASS changeEventCounter is 1 9 PASS changeEventCounter is 1
8 PASS input.value is "" 10 PASS element.value is ""
9 PASS input.value is "foo bar baz" 11 PASS element.value is "foo bar"
10 PASS changeEventCounter is 2 12 PASS changeEventCounter is 2
13 Value is updated while element is focused.
14 PASS changeEventCounter is 0
15 Value is updated after a user edit.
16 PASS changeEventCounter is 1
17 ===> Tests for INPUT[type=number]
18 Value is updated in change event handler.
19 PASS element.value is "123"
20 PASS changeEventCounter is 1
21 PASS element.value is ""
22 PASS element.value is "123"
23 PASS changeEventCounter is 2
24 Value is updated while element is focused.
25 PASS changeEventCounter is 0
26 Value is updated after a user edit.
27 PASS changeEventCounter is 1
28 ===> Tests for TEXTAREA
29 Value is updated in change event handler.
30 PASS element.value is "foo bar"
31 PASS changeEventCounter is 1
32 PASS element.value is ""
33 PASS element.value is "foo bar"
34 PASS changeEventCounter is 2
35 Value is updated while element is focused.
36 PASS changeEventCounter is 0
37 Value is updated after a user edit.
38 PASS changeEventCounter is 1
11 PASS successfullyParsed is true 39 PASS successfullyParsed is true
12 40
13 TEST COMPLETE 41 TEST COMPLETE
14 42
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698