postMessage method
The postMessage() method of the
MessagePort interface sends a message from the port, and optionally,
transfers ownership of objects to other browsing contexts.
Implementation
external void postMessage(JSAny? message, [JSObject optionsOrTransfer]);