[wpt-sync] Sync PR 64410 - Require relatedTarget element be same-document, not just same-origin.
Categories
(Core :: DOM: Events, task, P4)
Tracking
()
| 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/656Bug: 572556403, 574379564, 574843953
Force-WPT-Export: true
Change-Id: Ieeccc615002c9a836874bb93684e34dd2a427a4cReviewed-on: https://chromium-review.googlesource.com/8687019
WPT-Export-Revision: d0f69096693c5e9a92605d57f98acda0e72365cf
| Assignee | ||
Comment 1•24 days ago
|
||
PR 64410 applied with additional changes from upstream: 6cc1923c1e84a9a3f776914aae124fe8d21839e4, fd3d5e4c393a0ee7ff29b7e6c2281e486f7699ee
| Assignee | ||
Updated•24 days ago
|
| Assignee | ||
Updated•11 days ago
|
| Assignee | ||
Comment 2•11 days ago
|
||
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
| Assignee | ||
Updated•11 days ago
|
| Assignee | ||
Comment 3•11 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=122593
| Assignee | ||
Comment 4•11 days ago
|
||
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
- /pointerevents/pointerevent_boundary_events_cross_document_same_origin.tentative.html [wpt.fyi]
- Same-origin iframe to parent with iframe removed: relatedTarget is null:
FAILlinked bug:Bug 2088863
- Same-origin iframe to parent with iframe removed: relatedTarget is null:
New Tests That Don't Pass
- /pointerevents/pointerevent_boundary_events_cross_document_same_origin.tentative.html [wpt.fyi]
- Same-origin iframe to parent with iframe removed: relatedTarget is null:
FAIL(Chrome:PASS, Safari:PASS)
- Same-origin iframe to parent with iframe removed: relatedTarget is null:
Comment 6•8 days ago
|
||
| bugherder | ||
Description
•