question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

tracking: migrate cookie lifetime and sanitize cookie/offlineApps

See original GitHub issue

Just a follow-up to the “keep cookie + site data exceptions on close” functionality (issues #1256 and #1291.)

Considering that:

  • privacy.sanitize.sanitizeOnShutdown is not “All or Nothing” anymore, i.e. privacy.clearOnShutdown.cookies and privacy.clearOnShutdown.offlineApps now respect website exceptions as of FF99 (1681701, code);

  • network.cookie.lifetimePolicy is soon/not so soon to be deprecated (1681493, 1764761).

Would it be the right time to update section 2800, deprecating network.cookie.lifetimePolicy and setting both privacy.clearOnShutdown.cookies and privacy.clearOnShutdown.offlineApps to true? Functionality wise, thing should continue to be the same. It would be more of a future-proof measure.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:35 (22 by maintainers)

github_iconTop GitHub Comments

5reactions
Thorin-Oakenpantscommented, May 6, 2022

right … here we go … patchs underway bitches, early in the 102 nightly cycle

2reactions
Thorin-Oakenpantscommented, May 3, 2022

The only issue I have is timing

  • there is a migration planned
    • i.e if users have lifetime policy = 2, then enable sanitize on close and check cookies and offlineApps - and some logic to uncheck the other options IF sanitize on close was disabled
    • IDK what happens if the prefs are modified - e.g. us
    • and for subsequent starts the user.js will reset them

In other words I want to avoid the migration code getting triggered. So as long as we can switch at least one release before the pref is deprecated, then that’s what I want to do

My best guess is that they will want to get this done in ESR102 at the latest. For now it is not in FF101 and we can safely keep using the current setup.

I would rather not pull the trigger on changing until I know it’s production ready. There’s a bit to digest, and I would want to know it’s all working as intended. For example, 101 introduced some sanitizing speed perfs, which caused a regression with containers and subdomains (which was fixed). What I’m saying is I want to let the bugs manifest if there are any. And there is still code to be changed where lifetime policy is used.

We can afford to wait. The only benefit I see is that it would then allow service workers, but since we’ve lived without those for the last four five+ years, I don’t think another release or two matters

We can keep this issue open as the ToDo and for tracking (although I am already tracking it)

Read more comments on GitHub >

github_iconTop Results From Across the Web

WordPress Cookies and PHP Sessions - Everything You ...
Session cookies, also known as transient cookies, are temporary. They don't have an expiration date attached and only store information about ...
Read more >
Cookie Status :: Current Status Of Browser Tracking ...
Brave Chrome Cliqz Mechanism Shields n/a Anti‑Tracking Deployed in 0.55.18 n/a 1.30.0 Latest release Link Link Link
Read more >
Cookie Policy - MailerLite
We may use cookies and other tracking technologies to collect “Personal Data” (any information relating to an identified or identifiable natural person), ...
Read more >
How to move past cookies with server to server tracking
A data resiliency solution enables companies to maintain a full-funnel tracking system that involves online, offline and off-site events.
Read more >
Local Storage vs Cookies - Stack Overflow
localStorage is an implementation of the Storage Interface. It stores data with no expiration date, and gets cleared only through JavaScript, or ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found