Merge pull request #1682 from nylki/patch-1

remove incorrect info about synchronous postMessage
This commit is contained in:
Ilya Kantor 2019-12-26 15:31:23 +03:00 committed by GitHub
commit 990b8f4c8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -335,10 +335,6 @@ The full example:
[codetabs src="postmessage" height=120] [codetabs src="postmessage" height=120]
```smart header="There's no delay"
There's totally no delay between `postMessage` and the `message` event. The event triggers synchronously, faster than `setTimeout(...,0)`.
```
## Summary ## Summary
To call methods and access the content of another window, we should first have a reference to it. To call methods and access the content of another window, we should first have a reference to it.