Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[beacon-api] Update
PendingBeacon
IDL to match latest explainer
- `pageHideTimeout` - Replace pageHideTimeout with `backgroundTimeout` and `timeout`. - Allow to set them in constructor & via property setters. - `isPending` - Rename isPending to `pending` and specify its behaviors. - `setData(data)` - Remove setData(data) from base class PendingBeacon. - Add subclass `PendingGetBeacon` which supports `setURL(url)`. - Also define a new mojom method `setRequestURL(url)` to help update browser-side beacon. - Add subclass `PendingPostBeacon` which supports `setData(data)`. See [the pull request][1] or [explainer][2] for more details. [1]: WICG/pending-beacon#16 (comment) [2]: https://github.com/WICG/unload-beacon#readme Bug: 1293679 Change-Id: I8b73bdd3de7f5e8a3358564be52e2c0f2f6774de Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3789544 Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Yutaka Hirano <yhirano@chromium.org> Commit-Queue: Ming-Ying Chung <mych@chromium.org> Reviewed-by: Rakina Zata Amni <rakina@chromium.org> Reviewed-by: Fergal Daly <fergal@chromium.org> Cr-Commit-Position: refs/heads/main@{#1031758}
- Loading branch information
Showing
26 changed files
with
611 additions
and
281 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
Oops, something went wrong.