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

Side by Side Diff: third_party/WebKit/LayoutTests/platform/mac/fast/forms/color/input-color-onchange-event-expected.txt

Issue 2447653002: INPUT element: Do not dispatch events in detachLayoutTree(). (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 Test if change event fires properly when color chooser changes. Bug 66848 1 Test if change event fires properly when color chooser changes. Bug 66848
2 To manually test this, click on the input color element in the top left corner a nd change the value from the color chooser. See if the number of "value changed" messages matches the number of times you changed the color. 2 To manually test this, click on the input color element in the top left corner a nd change the value from the color chooser. See if the number of "value changed" messages matches the number of times you changed the color.
3 3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 5
6 6
7 PASS internals.selectColorInColorChooser({}, '#ff0000'); threw exception TypeErr or: Failed to execute 'selectColorInColorChooser' on 'Internals': parameter 1 is not of type 'Element'.. 7 PASS internals.selectColorInColorChooser({}, '#ff0000'); threw exception TypeErr or: Failed to execute 'selectColorInColorChooser' on 'Internals': parameter 1 is not of type 'Element'..
8 PASS internals.selectColorInColorChooser(document, '#ff0000'); threw exception T ypeError: Failed to execute 'selectColorInColorChooser' on 'Internals': paramete r 1 is not of type 'Element'.. 8 PASS internals.selectColorInColorChooser(document, '#ff0000'); threw exception T ypeError: Failed to execute 'selectColorInColorChooser' on 'Internals': paramete r 1 is not of type 'Element'..
9 input event dispatched - value is: #ff0000 9 input event dispatched - value is: #ff0000
10 change event dispatched - value changed to #ff0000 10 change event dispatched - value changed to #ff0000
11 PASS input.value is "#ff0000" 11 PASS input.value is "#ff0000"
12 Change event is only dispatched, when color chooser is closed 12 Change event is only dispatched, when color chooser is closed
13 input event dispatched - value is: #ff0002 13 input event dispatched - value is: #ff0002
14 change event dispatched - value changed to #ff0002 14 PASS Change event was dispatched.
15 FAIL onChange should be 0. Was 1. 15 FAIL input.value should be #ff0000. Was #ff0002.
16 PASS onChange is 1
17 PASS successfullyParsed is true 16 PASS successfullyParsed is true
18 17
19 TEST COMPLETE 18 TEST COMPLETE
20 19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698