Files
sousa-gecko/testing/web-platform/tests/html/semantics/embedded-content
Jonathan Schwender ac91d58c13 Bug 2052605 [wpt PR 61073] - script: Avoid creating a Trusted<Document> during GC, a=testonly
Automatic update from web-platform-tests
script: Avoid creating a `Trusted<Document>` during GC

`Document::finish_load_for_dropped_blocker`, creates a `Trusted<Document>`
, which is problematic if the drop happens during (because of) an
ongoing GC. If the owning `Document` is being collected in the same GC,
we have a problem that can manifest as a segfault during the next GC.

Adds a crashtest that reproduces the use-after-free.

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>

--

wpt-commits: 5b16451ca9a4fc1819ed6dd08b632eb4b00af873
wpt-pr: 61073
2026-07-10 09:25:38 +00:00
..
…