Skip to main content

Interface: ConnectToOpenerOptions

Properties

allowAnyOrigin?

optional allowAnyOrigin?: boolean;

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


cid?

optional cid?: string;

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


localWindow?

optional localWindow?: WindowEventTarget;

Test seam. Defaults to the global window.


opener?

optional opener?: WindowLike | null;

Test seam. Defaults to window.opener.


peerOrigin

peerOrigin: string;

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


readyTimeoutMs?

optional readyTimeoutMs?: number;

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