readonly
origin: stringReturns the origin of the message, for server-sent events.
readonly
lastEventId: stringReturns the last event ID string, for server-sent events.
readonly
source: MessageEventSource | nullreadonly
ports: ReadonlyArray<MessagePort>Returns transferred ports.
deprecated
initMessageEvent(type: string,bubbles?: boolean,cancelable?: boolean,data?: any,origin?: string,lastEventId?: string,source?: MessageEventSource | null,ports?: MessagePort[],): void