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

Unified Diff: LayoutTests/platform/mac/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/platform/mac/fast/forms/color/input-color-onchange-event-expected.txt
diff --git a/LayoutTests/fast/forms/color/input-color-onchange-event-expected.txt b/LayoutTests/platform/mac/fast/forms/color/input-color-onchange-event-expected.txt
similarity index 73%
copy from LayoutTests/fast/forms/color/input-color-onchange-event-expected.txt
copy to LayoutTests/platform/mac/fast/forms/color/input-color-onchange-event-expected.txt
index 0d162dc2fe015c7d89e31ad0167316be611013fb..87457220c3d98b9fe1b3a8ff9dbc9d3753a4a929 100644
--- a/LayoutTests/fast/forms/color/input-color-onchange-event-expected.txt
+++ b/LayoutTests/platform/mac/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
+change event dispatched - value changed to #ff0002
+FAIL onChange should be 0. Was 1.
+PASS onChange is 1
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698