It doesn't currently work in all cases.
Created attachment 455091 [details] Patch
Found 2 new test failures: fast/mediastream/mediastreamtrack-audio-clone.html, imported/w3c/web-platform-tests/workers/interfaces/WorkerUtils/importScripts/report-error-setTimeout-redirect-to-cross-origin.sub.any.worker.html
Committed r291500 (248612@main): <https://commits.webkit.org/248612@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 455091 [details].
<rdar://problem/90508167>