You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+15-6
Original file line number
Diff line number
Diff line change
@@ -307,14 +307,21 @@ However, it may break existing means that users have of blocking beaconing -
307
307
since the browser itself sends beacons **behind the scenes** (so to speak),
308
308
special support may be needed to allow extension authors to block the sending (or registering) of beacons.
309
309
310
-
Specifically, beacons will have the following privacy requirements:
310
+
Specifically, pending beacons will have the following privacy requirements:
311
311
312
312
* Follow third-party cookie rules for beacons.
313
-
* Post-unload beacons are not sent if background sync is disabled for a site.
314
-
*[#30] Beacons must not leak navigation history to the network provider that it should not know.
315
-
* If network changes after a page is navigated away, i.e. put into bfcache, the beacon should not be sent through the new network;
316
-
If the page is then restored from bfcache, the beacon can be sent.
317
-
* If this is difficult to achieve, consider just force sending out all beacons on navigating away.
313
+
* The timing when the beacons can be sent must be taken care of:
314
+
* Before navigating away (or document being fully unloaded), beacons are **sendable**.
315
+
* On navigating away, if beacons will be **non-sendable** after navigating away, consider sending all of them out here.
316
+
*[#3] After navigating away (or document discarded or bfcached):
317
+
* If [BackgroundSync] is on, beacons are **sendable**.
318
+
* If [BackgroundSync] is off:
319
+
* Beacons are **sendable** if there is another open document (tab/frame/etc) with [the same storage partitioning key][StorageKey] as the current document's one.
320
+
*[#30] Beacons are **sendable** over the same network as the one before navigating away.
321
+
* Beacons are **non-sendable** if none of the above conditions is met.
322
+
* Beacons can change from **sendable** to **non-sendable**.
323
+
***non-sendable** beacons might be postponed until navigating back for might be silently dropped.
324
+
* If this is difficult to achieve, consider just force sending out all beacons on navigating away.
318
325
*[#27] Beacons must be sent over HTTPS.
319
326
*[#34]\[TBD\] Crash Recovery related (if implemented):
320
327
* Delete pending beacons for a site if a user clears site data.
@@ -329,6 +336,8 @@ Specifically, beacons will have the following privacy requirements:
0 commit comments