Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / forms / color / input-color-onchange-event-expected.txt
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 and 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
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
5
6
7 PASS internals.selectColorInColorChooser({}, '#ff0000'); threw exception TypeError: Failed to execute 'selectColorInColorChooser' on 'Internals': parameter 1 is not of type 'Element'..
8 PASS internals.selectColorInColorChooser(document, '#ff0000'); threw exception TypeError: Failed to execute 'selectColorInColorChooser' on 'Internals': parameter 1 is not of type 'Element'..
9 input event dispatched - value is:  #ff0000
10 change event dispatched - value changed to #ff0000
11 PASS input.value is "#ff0000"
12 Change event is only dispatched, when color chooser is closed
13 input event dispatched - value is:  #ff0002
14 PASS onChange is 0
15 change event dispatched - value changed to #ff0002
16 PASS onChange is 1
17 PASS successfullyParsed is true
18
19 TEST COMPLETE
20