forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce fence.setReportEventDataForAutomaticBeacons()
This CL introduces a new API for window.fence that allows setting the payload of an automatic beacon in advance. Because automatic beacons will send without the web platform being aware of it, the web platform needs to tell the browser what data should be sent as part of the beacon before the beacon fires. `setReportEventDataForAutomaticBeacons` will send an IPC to the frame's `RenderFrameHost`, which in turn will store the payload in its associated FrameTreeNode's `fenced_frame_properties_` object. A follow up CL will have popups and `_unfencedTop` navigations read the payload and send it to any beacons registered with the `reserved.top_navigation` event. See design doc: https://docs.google.com/document/d/1a4Z-EA9j9RnAkxtxIeapN3CrfFDwYTvUmRZdyS12YTw/edit?usp=sharing&resourcekey=0-KAsNrfiZ2Q1X66BoJnyDFQ Change-Id: If44f9ad91e71f5e04a1580865390368518da01d7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4167776 Reviewed-by: Dominic Farolino <dom@chromium.org> Reviewed-by: Garrett Tanzer <gtanzer@chromium.org> Commit-Queue: Liam Brady <lbrady@google.com> Reviewed-by: Shivani Sharma <shivanisha@chromium.org> Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org> Cr-Commit-Position: refs/heads/main@{#1098653}
- Loading branch information
Liam Brady
authored and
Chromium LUCI CQ
committed
Jan 30, 2023
1 parent
935bcb0
commit 6da2cc9
Showing
16 changed files
with
301 additions
and
56 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
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
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
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
Oops, something went wrong.