Closed Bug 2089992 Opened 24 days ago Closed 8 days ago

[wpt-sync] Sync PR 64410 - Require relatedTarget element be same-document, not just same-origin.

Categories

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

task

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

David Baron <dbaron@chromium.org> wrote:

Require relatedTarget element be same-document, not just same-origin.

This makes (behind a new flag) the check introduced in commit
bb79a99bd4473e26031cd5433e34d047fa527f3c stricter: it becomes a
same-document check rather than a same-origin check. If a relatedTarget
node would be cross-document, it is replaced either with the
same-document containing iframe, or with null.

This matches the consensus in
https://github.com/w3c/pointerevents/issues/656

Bug: 572556403, 574379564, 574843953
Force-WPT-Export: true
Change-Id: Ieeccc615002c9a836874bb93684e34dd2a427a4c

Reviewed-on: https://chromium-review.googlesource.com/8687019
WPT-Export-Revision: d0f69096693c5e9a92605d57f98acda0e72365cf

PR 64410 applied with additional changes from upstream: 6cc1923c1e84a9a3f776914aae124fe8d21839e4, fd3d5e4c393a0ee7ff29b7e6c2281e486f7699ee

Component: web-platform-tests → DOM: Events
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]

Try push failed to land: Lando job 122282 for the try push is FAILED:
Problem while applying patch in revision None:

hg error in cmd: hg import -s 95 --date 1795042418 0 --user moz-wptsync-bot <wptsync@mozilla.com> --logfile /tmp/tmpa56si0znmsg /tmp/tmpy4elgxejdiff: applying /tmp/tmpy4elgxejdiff

file testing/web-platform/tests/pointerevents/pointerevent_boundary_events_cross_document_same_origin.tentative.html already exists
1 out of 1 hunks FAILED -- saving rejects to file testing/web-platform/tests/pointerevents/pointerevent_boundary_events_cross_document_same_origin.tentative.html.rej
file testing/web-platform/tests/pointerevents/pointerevent_boundary_events_cross_origin.html already exists
1 out of 1 hunks FAILED -- saving rejects to file testing/web-platform/tests/pointerevents/pointerevent_boundary_events_cross_origin.html.rej
file testing/web-platform/tests/pointerevents/resources/pointerevent_boundary_events_cross_origin_child.html already exists
1 out of 1 hunks FAILED -- saving rejects to file testing/web-platform/tests/pointerevents/resources/pointerevent_boundary_events_cross_origin_child.html.rej
abort: patch failed to apply

Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 1 tests and 5 subtests

Status Summary

Firefox

OK : 1
PASS: 4
FAIL: 1

Chrome

OK : 1
PASS: 1
FAIL: 4

Safari

OK : 1
PASS: 3
FAIL: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/a4e831caa7b8 https://hg.mozilla.org/integration/autoland/rev/3ef84a2115c2 [wpt PR 64410] - Require relatedTarget element be same-document, not just same-origin., a=testonly
Status: NEW → RESOLVED
Closed: 8 days ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in before you can comment on or make changes to this bug.