Closed Bug 1910982 Opened 1 year ago Closed 11 months ago

[wpt-sync] Sync PR 47395 - Updated pointerevents/mouse-pointer-boundary-events-for-shadowdom.html to allow for interleaved mouse and pointer events

Categories

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

task

Tracking

()

RESOLVED FIXED
131 Branch
Tracking Status
firefox131 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 47395 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/47395
Details from upstream follow.

Lily Spiniolas <lily_spiniolas@apple.com> wrote:

Updated pointerevents/mouse-pointer-boundary-events-for-shadowdom.html to allow for interleaved mouse and pointer events

This change resolves issue https://github.com/web-platform-tests/interop/issues/682 by changing the logic used to compare the received events to the expected events. Rather than passing only when the array of received events and the array of expected events are identical, the test now passes when all of the following are true:

  • No expected events are missing from the array of received events, and no extra events are present in the array of received events
  • The first received event has type pointerout, and its target and relatedTarget is correct for the respective test phase
  • Each received pointer event occurs before its compatibility mouse event
Component: web-platform-tests → DOM: Events
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
PASS: 1

Chrome

OK : 1
PASS: 1

Safari

OK : 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b038c6f54f87 [wpt PR 47395] - Updated pointerevents/mouse-pointer-boundary-events-for-shadowdom.html to allow for interleaved mouse and pointer events, a=testonly
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
You need to log in before you can comment on or make changes to this bug.