[wpt-sync] Sync PR 62806 - Fix shadow root leak from beforeinput event
Categories
(Core :: DOM: Events, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
156.89 KB,
text/plain
|
Details |
Sync web-platform-tests PR 62806 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62806
Details from upstream follow.
Joey Arhar <jarhar@chromium.org> wrote:
Fix shadow root leak from beforeinput event
The nodes returned in beforeinput event's getTargetRanges() method was
not doing retargeting and could leak shadow nodes. This patch fixes that
by doing retargeting.fast/events/inputevents/inputevent-transpose.html was updated because
the first subtest left a beforeinput listener on document that relied on
\<textarea>'s internal UA shadow root nodes being leaked via
getTargetRanges() when the second subtest ran.Fixed: 553390794
Change-Id: Ib774191fef0c54e3f14f649f37f40c87f22c7bf4Reviewed-on: https://chromium-review.googlesource.com/8400446
WPT-Export-Revision: 00314440f4e7911aa3cf74a2a1f145677d07f744
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=94507
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 34 tests and 1 subtests
Status Summary
Firefox
OK : 1[GitHub] 33[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 2065[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 2069[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL: 3[GitHub] 1304[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 1308[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Chrome
OK : 1
FAIL: 3
Safari
OK : 1
FAIL: 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
(See attachment for full changes)
Comment 4•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/88bb20151cc0
https://hg.mozilla.org/mozilla-central/rev/9c2eebf691ea
Description
•