DescriptionFix the flaky test by ensuring the image used by <input type=image> is loaded.
It looks that r186800 wrongly rebased fast/events/domactivate-sets-underlying-click-event-as-handled-expected.txt, hiding the regression.
http://src.chromium.org/viewvc/blink?view=revision&revision=186800
However, the test itself has flakiness so it occasionally outputs the originally expected result correctly. That's the reason of the flakiness.
This CL fixed the flakiness by ensuring the image is loaded before testing.
Also reverted the wrong rebase of expected.txt in r186800.
It looks there is no reliable way to know when UA displays the (default) image if <input type=image> is used without src attribute.
The spec says "The src attribute must be present".
https://html.spec.whatwg.org/multipage/forms.html#image-button-state-(type=image)
BUG=520173
Committed: https://crrev.com/e68442e7003b776748b6d749a5cc7345d2dbed4e
Cr-Commit-Position: refs/heads/master@{#351532}
Patch Set 1 #Patch Set 2 : Fix TestExpectation #
Total comments: 1
Messages
Total messages: 12 (4 generated)
|