minor fixes

This commit is contained in:
Ilya Kantor 2020-09-12 19:48:22 +03:00
parent e4a60f4fde
commit bd8e8a9bdd
2 changed files with 1 additions and 3 deletions

View file

@ -263,7 +263,7 @@ The window that wants to send a message calls [postMessage](mdn:api/Window.postM
Arguments:
`data`
: The data to send. Can be any object, the data is cloned using the "structured cloning algorithm". IE supports only strings, so we should `JSON.stringify` complex objects to support that browser.
: The data to send. Can be any object, the data is cloned using the "structured serialization algorithm". IE supports only strings, so we should `JSON.stringify` complex objects to support that browser.
`targetOrigin`
: Specifies the origin for the target window, so that only a window from the given origin will get the message.