As a user, I want to be protected against first-party redirect (“bounce”) trackers by having my browser periodically clearing their site data.
With ETP Cookie Purging enabled, any site that is on our list of known trackers and did not receive user interaction (including scrolling) in the last 30 days will have all its cookies and other storage cleared on a daily basis. See blogpost for more context.
I think we need @betsymi to give us some strings for where this setting is and what it says. Toggling it will control whether ETP cookie purging is turned on.
I think we need @betsymi to give us some strings for where this setting is and what it says. Toggling it will control whether ETP cookie purging is turned on.
Will our implementation be the same as desktop's? ETP cookie purging included in Standard, included in Strict, and customizable in Custom. There is no toggle that exists specifically for turning off/on cookie purging though.

@betsymi there is no toggle specifically for turning off/on cookie purging in desktop if that is what you are asking.
The mobile product ask (see acceptance criteria in comment 0) is to make this feature discoverable in Fenix.
@betsymi there is no toggle specifically for turning off/on cookie purging in desktop if that is what you are asking.
The mobile product ask (see acceptance criteria in comment 0) is to make this feature discoverable in Fenix.
Would the ETP UI need to be redesigned to accommodate this? In that case I don't think this is a strings-only request and would require UX as well.
Is ETP cookie purging configurable completely independently of whether you're in strict, standard ETP? cc @Amejia481 to answer this.
If yes, then we probably could just add a single setting, with betsy.
Otherwise, if it's tied to other ETP settings (e.g. can't turn off cookie purging if you have strict set) then we'll need @violasong to provide some UX feedback here.
Is ETP cookie purging configurable completely independently of whether you're in strict, standard ETP? cc @Amejia481 to answer this.
If yes, then we probably could just add a single setting, with betsy.
Otherwise, if it's tied to other ETP settings (e.g. can't turn off cookie purging if you have strict set) then we'll need @violasong to provide some UX feedback here.
Yes, cookie purging is an independent setting is just a boolean value to turn it on/off. You can find an example where we are enabling it.
@liuche Betsy and I discussed this on Thursday and she will propose a solution aligning with the implementation.
Waiting on @betsymi to give a follow-up on when this is ready to work on.
Have consulted with privacy engineering team and received legal approval on the following strings. I am attaching visuals that are not true mock-ups as they're not pixel-perfect (or even pixel-close), but are meant as a visual aid to show where these strings go.
We will be making two changes in the ETP information panels on Standard, Strict, and Custom.
Add the following string to the information panels for each option of ETP
Redirect Trackers
Clears cookies set by redirects to known tracking websites
Remove all icons on these screens



For QA: see PR for screenshots :)
We are going to test both #15139 (icons and description) and https://github.com/mozilla-mobile/fenix/issues/12796 (cookie purge implementation) for QA approval on this issue
Verified as fixed on the latest Nightly build 9/29 with Google Pixel 4 XL (Android 11).
Note that this verification has 2 parts:
Clears cookies set by redirects to known tracking websites and removing all the icons from the ETP screens.In about:debugging and scroll to the bottom, from the Processes tab click on Inspect and then select console. Here needs to be added a few preferences:
Services.prefs.setIntPref("network.cookie.cookieBehavior", 0);
Services.prefs.setBoolPref("privacy.purge_trackers.enabled", true);
Services.prefs.setCharPref("privacy.purge_trackers.logging.level", "Debug");
Services.prefs.setIntPref("privacy.userIntercation.expiration", 10); --> the number 10 represents the seconds

Note that I tested the functionality for the ETP Cookies purging but instead of 30 days I switched the counter for 10 seconds for faster testing, in order to test it please follow these steps:
about:debuggingAfter everything is set, go to Console and run this command - > Services.obs.notifyObservers(null, "idle-daily");
While being in the Storage tab where the cookies are displayed you should see a bunch of messages about cookies that are not deleted as well as some that are deleted.


I tested this with many websites and it works accordingly.
Also, note that the new string is correctly displayed and all the icons were removed in Light and Dark mode.
Sorry for the delay with this bug.
Thanks @abodea!
Most helpful comment
Thanks @abodea!