There is an ASSERT(isMainThread()) there but I see no motivation for this. Care to explain, Alicia? This code might be triggered from worker threads in during WebCodecs initialization, that's why imported/w3c/web-platform-tests/webcodecs/video-decoder.crossOriginIsolated.https.any.worker.html crashes in Debug bots...
Pull request: https://github.com/WebKit/WebKit/pull/17069
Committed 267550@main (c760465095dd): <https://commits.webkit.org/267550@main> Reviewed commits have been landed. Closing PR #17069 and removing active labels.
<rdar://problem/114819848>