Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attach activate data to the portalactivate event.
This allows authors to pass a serializable value along with the activation event, so that the contexts can coordinate and transfer state across the activation. Transfer is supported, so message ports and similar objects can also be passed (subject to bug 940021). The existing TransferableMessage mojo struct (used for postMessage elsewhere) is reused, and is plumbed along the existing portal activation path. Web platform test included. Bug: 938549 Change-Id: Ib9a35a58c6317523b74fdd47cdd8e68c1d6ddfbd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1504046 Commit-Queue: Jeremy Roman <jbroman@chromium.org> Reviewed-by: Nasko Oskov <nasko@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Lucas Gadani <lfg@chromium.org> Cr-Commit-Position: refs/heads/master@{#639981}
- Loading branch information