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

Unified Diff: LayoutTests/fast/forms/color/input-color-onchange-event-expected.txt

Issue 513783002: Dispatch change event for input type=color when colorpicker is closed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Implemented colorChooserClient support Created 6 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/forms/color/input-color-onchange-event-expected.txt
diff --git a/LayoutTests/fast/forms/color/input-color-onchange-event-expected.txt b/LayoutTests/fast/forms/color/input-color-onchange-event-expected.txt
index 0d162dc2fe015c7d89e31ad0167316be611013fb..49e83ff9a9fa5f2f9dad634cea3f4928da6e25b7 100644
--- a/LayoutTests/fast/forms/color/input-color-onchange-event-expected.txt
+++ b/LayoutTests/fast/forms/color/input-color-onchange-event-expected.txt
@@ -6,8 +6,14 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS internals.selectColorInColorChooser({}, '#ff0000'); threw exception TypeError: Failed to execute 'selectColorInColorChooser' on 'Internals': parameter 1 is not of type 'Element'..
PASS internals.selectColorInColorChooser(document, '#ff0000'); threw exception TypeError: Failed to execute 'selectColorInColorChooser' on 'Internals': parameter 1 is not of type 'Element'..
-value changed to #ff0000
+input event dispatched - value is: #ff0000
+change event dispatched - value changed to #ff0000
PASS input.value is "#ff0000"
+Change event is only dispatched, when color chooser is closed
+input event dispatched - value is: #ff0002
+PASS onChange is 0
+change event dispatched - value changed to #ff0002
+PASS onChange is 1
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698