| OLD | NEW |
| 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 PASS input.value is "#ff0000" |
| 10 change event dispatched - value changed to #ff0000 | 11 change event dispatched - value changed to #ff0000 |
| 11 PASS input.value is "#ff0000" | 12 PASS input.value is "#ff0000" |
| 12 Change event is only dispatched, when color chooser is closed | 13 Change event is only dispatched, when color chooser is closed |
| 13 input event dispatched - value is: #ff0002 | 14 input event dispatched - value is: #ff0002 |
| 14 PASS onChange is 0 | 15 PASS Change event was dispatched. |
| 15 change event dispatched - value changed to #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 |
| OLD | NEW |