[wpt-sync] Sync PR 64547 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=329798
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64547 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64547
Details from upstream follow.
Anne van Kesteren <annevk@annevk.nl> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=329798
WebKit export from bug: Adopting a shadow host with a live collection hits a debug assertion
<pre>
Adopting a shadow host with a live collection hits a debug assertionWhen the old document has a live collection with a valid cache,
Node::moveTreeToNewScope() takes the slow path. Moving the collection's owner
invalidates that cache, which unregisters the collection from the old
document. A shadow root moved after that point can then find the old document
eligible for fast adoption, which fails the assertion in
moveShadowTreeToNewDocumentSlowCase(). Moving a tree into a user agent shadow
tree takes the slow path even when the documents are eligible, so the
assertion can fail there too.The assertion has been too strict since it was added in <a href="https://commits.webkit.org/273544@main">273544@main</a>.
moveTreeToNewScope() already decides once, and the slow path is correct either
way, so remove the assertion.WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=329798">https://bugs.webkit.org/show_bug.cgi?id=329798</a>
</pre>
| Assignee | ||
Updated•16 days ago
|
| Assignee | ||
Comment 1•16 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=119645
| Assignee | ||
Comment 2•16 days ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 7 tests
Status Summary
Firefox
PASS : 1[GitHub] 6[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-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, 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]
TIMEOUT: 1
Chrome
PASS : 1
Safari
PASS : 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
Comment 4•12 days ago
|
||
| bugherder | ||
Description
•