(event: MessageEvent)
| 105 | typeof BroadcastChannel !== "undefined" ? new BroadcastChannel(input.channelName) : null; |
| 106 | |
| 107 | const onMessage = (event: MessageEvent) => { |
| 108 | if (event.origin !== window.location.origin) return; |
| 109 | handleResult(event.data); |
| 110 | }; |
| 111 | |
| 112 | // localStorage `storage` events are the reliable same-origin completion path: |
| 113 | // they fire on the opener when the (same-origin) callback page writes, survive |
nothing calls this directly
no test coverage detected