Let targetWindow be this Window
object.
Let targetRealm be targetWindow's Realm.
Let targetOrigin be the value of options's targetOrigin
member.
If targetOrigin is a single U+002F SOLIDUS character (/), then set targetOrigin to incumbentSettings's origin.
@@ -95430,6 +95448,9 @@ function receiver(e) {Let transfer be the value of options's transfer
member.
Let serializeWithTransferResult be StructuredSerializeWithTransfer(message, transfer). Rethrow any exceptions.
The postMessage(message,
+ options)
method, when invoked on a
+ Window
object must run the following steps:
Let targetWindow be this Window
object.
Run the window post message steps providing targetWindow, + message and options.
The postMessage(message,
+ targetOrigin, transfer)
method, when invoked on a
+ Window
object must run the following steps:
Let targetWindow be this Window
object.
Let options be a new instance of WindowPostMessageOptions
+ object.
Set options's targetOrigin
member to be
+ targetOrigin.
Set options's transfer
member to be
+ transfer.
Run the window post message steps providing + targetWindow, message and options.