See https://github.com/whatwg/html/pull/3584 and https://github.com/w3c/web-platform-tests/pull/10123.
Safari Technology Preview 151 & Chrome Canary 107 still fail these tests: https://wpt.fyi/results/webmessaging/message-channels/close.any.html?label=master&label=experimental&aligned&view=subtest&q=message%20channel%20close > close() detaches a MessagePort (but not the one its entangled with) > close() detaches a MessagePort (but not the one its entangled with)
It may be a good idea to fix this before shipping nested workers, as lifetime issues are even more complicated for those than for first level dedicated workers.
No browser passes this particular subtest expect for Firefox.
Pull request: https://github.com/WebKit/WebKit/pull/4484
Committed 254661@main (5cc2efcf871d): <https://commits.webkit.org/254661@main> Reviewed commits have been landed. Closing PR #4484 and removing active labels.
<rdar://problem/100156508>