Closed Bug 1668133 Opened 4 years ago Closed 4 years ago

Split off the check of InputEvent.getTargetRanges() result after `beforeinput` event propagation in WPT

Categories

(Core :: DOM: Events, task, P2)

task

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: masayuki, Assigned: masayuki)

References

Details

Attachments

(1 file)

Currently, the WPTs for InputEvent.getTargetRanges() check its result after propagation, but Chrome always fail it so that it's hard to check which tests indicates actual different behavior with Gecko. Therefore, it's better to check it in a separated test.

Currently, it's tested in input-events-get-target-ranges-*.tentative.html
after checking the target ranges, however, Blink always fails this check.
That makes it harder to check which test actually failed on Chrome.

Therefore, this patch makes the existing tests stop check it, and creates
new WPT to check only it.

Note that due to some prettier's rlues have been changed so that VSCode
reformatted the JS file.

Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/bd5d3910d2a4
Check consistency of `getTargetRanges()` at calling various timing in an independent WPT r=smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/25942 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: