Ready for Trial: Declarative PendingBeacon API

169 views
Skip to first unread message

Ming-Ying Chung

unread,
Oct 12, 2022, 11:12:53 PM10/12/22
to blink-dev, Daisuke Enomoto, Fergal Daly, Ian Clelland

Contact emails

my...@chromium.orgfer...@chromium.org, chrome-pen...@google.com

Explainer

https://github.com/WICG/unload-beacon/blob/main/README.md


Design docs

https://docs.google.com/document/d/1QIFUu6Ne8x0W62RKJSoTtZjSd_bIM2yXZSELxdeuTFo/edit?pli=1

Summary

Page Unload Beacon API (a.k.a. PendingBeacon API) allows website authors to specify one or more beacons (HTTP requests) that should be sent reliably when the page is being unloaded.


Blink component

UI>Browser>Navigation>BFCache

TAG review


TAG review status

Pending

Risks

N/A


Goals for experimentation

  • Collect usability feedback about the current API shape to decide how to improve the API design
  • Collect stability metrics of the current API implementation

Ongoing technical constraints

See "What's not supported"

Debuggability

N/A



Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

Yes

Is this feature fully tested by web-platform-tests?

Yes

DevTrial instructions

https://chromium.googlesource.com/chromium/src/+/main/docs/experiments/page-unload-beacon.md#using-command-line-flag

Flag name

--enable-features=PendingBeaconAPI

Requires code in //chrome?

False

Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1293679

Launch bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1323615

Estimated milestones

DevTrial on desktop107
   OriginTrial on desktop  107 to 109
DevTrial on Android107
   OriginTrial on Android  107 to 109

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5690553554436096

Links to previous Intent discussions

Intent to experiment: https://groups.google.com/a/chromium.org/g/blink-dev/c/Vd6RTIfxkiY/m/HECcgiDOAAAJ?pli=1

Ming-Ying Chung

unread,
Oct 12, 2022, 11:21:10 PM10/12/22
to blink-dev, Daisuke Enomoto, Fergal Daly, Ian Clelland, pending-beac...@chromium.org
Reply all
Reply to author
Forward
0 new messages