#776: Early Design Review: Pending Beacon API

Visit on Github.

Opened Sep 27, 2022

Wotcher TAG!

I'm requesting a TAG review of Pending API.

This is a proposal for Pending Beacon API. It is a system for sending beacons when pages are discarded, that uses a stateful API rather than having developers explicitly send beacons themselves.

Further details:

You should also know that...

[please tell us anything you think is relevant to this review]

We'd prefer the TAG provide feedback as (please delete all but the desired option):

💬 leave review feedback as a comment in this issue and @-notify @mingyc and @fergald

Discussions

2022-10-10

Minutes

bump to plenary

2022-10-17

Minutes

punt to next week

2022-11-28

Minutes

bumped

2023-03-13

Minutes

Tess: looks like Yves had questions and they were answered...

Yves: ...

Tess: linked moz and webkit standards positions.. some interesting discussion. There is already a "beacon" spec - this is different. It's on purpose. But seems unfortunate that you have 2 similar sounding things with similar purposes. Feels like we should try to merge these things or find a way to integrate them.

Dan: that sounds architectural.

Tess: beyond that ... the basic issue

Dan: no user needs...

Tess: sites want to reliably know if something bad happened. But if something sufficiently bad happens then site can't reliably know. E.g. device crashes; browser crashes. There is a tension bwteen having a reliable signal and the reality of software in the wild.

Dan: state and the web being stateless...

Yves: you have local state with cookies -- local storage... so this is not about giving state.

Dan: can we push back and ask for some user needs?

Tess: right now the explainer only has dev needs - you can infer user needs. But I'd rather them to be explicit.

Peter: also there should be a user benefit aside from analytics and tracking.

Dan: leaves comment on user needs

Tess: will read the discussions and follow up.

2023-03-27

Minutes

Tess: Some feedback I've heard: insufficient integratoion with sendbeacon... Entirely new API that is in similar space to existing APIs... and maybe a better API shape would have been to add an argument to an existing API? Webkit's position -

Dan: Support but with concerns.

Yves: supposedly it's to save a state server side from the client. The fact that it can be done using GET is not really nice. Should be a post. Using a get is not ideal. will leave comment

Tess: Agree. I can leave a comment.

2023-04-tokyo

Minutes

Yves noted that they're using HTTP GET inapproriately. It also looks like they're working on a very big change to this, so perhaps we should defer reviewing it until that happens.

2023-07-17

Minutes

Tess: ...linked to the agreement that we came to on their issue 70 ... there's actually a PR on the fetch spec... I thought we should close it. Fergal said the changes are in the API...

triaged

2023-07-mos-eisley

Minutes

Sangwhan to post asking them to close, design has changed.

2024-01-london

Minutes

closed