-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Send a MessagePort to host on frame startup (#2072)
Towards #2065 All host implementations are updated to allow either the legacy format, or this new format. Simplify the communication and avoid a listener on the frame window message events. Upon startup replace the `{'ready': true}` message with a `'port'` message and the `MessagePort` for a channel created on the frame side. Omit the manual 'href' field, no host implementations would read it.
- Loading branch information
Showing
3 changed files
with
19 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters