@@ -304,16 +304,26 @@ special support may be needed to allow extension authors to block the sending (o
304
304
305
305
Specifically, beacons will have the following privacy requirements:
306
306
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.
312
307
* Follow third-party cookie rules for beacons.
313
308
* 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,
316
319
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/
317
327
318
328
## Alternatives Considered
319
329
0 commit comments