Skip to content

ConnectToOpenerOptions

allowAnyOrigin?: boolean;

Dev only: accept messages from any origin and post with targetOrigin ’*’.


cid?: string;

Test seam. Defaults to the ue-cid query parameter.


localWindow?: WindowEventTarget;

Test seam. Defaults to the global window.


opener?:
| WindowLike
| null;

Test seam. Defaults to window.opener.


peerOrigin: string;

Exact origin of the page that opened this window. Required.


readyTimeoutMs?: number;

Give up on the ready handshake after this long. Default 15000ms.