We could build on the changes made in #22949 to update the DevTools extension to use BroadcastChannel for communication rather than Window.postMessage. This might improve performance but we would need to investigate.
BroadcastChannel can also be explicitly closed which might simplify cleanup.