Skip to content

Commit 611df04

Browse files
authored
Update Privacy section to clarify network change (#29)
Update Privacy section to clarify why beacon needs to be stopped when network changes (#27 #28) Also added links to related privacy discussions: #3, #27, #30, #34 Updated beacon TTL to 30min per suggestion in #16 (comment)
1 parent 8e66690 commit 611df04

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

README.md

+17-7
Original file line numberDiff line numberDiff line change
@@ -304,16 +304,26 @@ special support may be needed to allow extension authors to block the sending (o
304304

305305
Specifically, beacons will have the following privacy requirements:
306306

307-
* Beacons must be sent over HTTPS.
308-
* Beacons are only sent over the same network that was active when the beacon was registered
309-
(e.g. if the user goes offline and moves to a new network, discard pending beacons).
310-
* Delete pending beacons for a site if a user clears site data.
311-
* Beacons registered in an incognito session do not persist to disk.
312307
* Follow third-party cookie rules for beacons.
313308
* Post-unload beacons are not sent if background sync is disabled for a site.
314-
* If a page is suspended (for instance, as part of a [bfcache](https://web.dev/bfcache/)),
315-
beacons should be sent within 10 minutes or less of suspension,
309+
* [#30] Beacons must not leak navigation history to the network provider that it should not know.
310+
* If network changes after a page is navigated away, i.e. put into bfcache, the beacon should not be sent through the new network;
311+
If the page is then restored from bfcache, the beacon can be sent.
312+
* If this is difficult to achieve, consider just force sending out all beacons on navigating away.
313+
* [#27]\[TBD\] Beacons must be sent over HTTPS.
314+
* [#34]\[TBD\] Crash Recovery related (if implemented):
315+
* Delete pending beacons for a site if a user clears site data.
316+
* Beacons registered in an incognito session do not persist to disk.
317+
* [#3] If a page is suspended (for instance, as part of a [bfcache]),
318+
beacons should be sent within 30 minutes or less of suspension,
316319
to keep the beacon send temporally close to the user's page visit.
320+
Note that beacons lifetime is also capped by the browser's bfcache implementation.
321+
322+
[#3]: https://github.com/WICG/unload-beacon/issues/3
323+
[#27]: https://github.com/WICG/unload-beacon/issues/27
324+
[#30]: https://github.com/WICG/unload-beacon/issues/30
325+
[#34]: https://github.com/WICG/unload-beacon/issues/34
326+
[bfcache]: https://web.dev/bfcache/
317327

318328
## Alternatives Considered
319329

0 commit comments

Comments
 (0)