Open Bug 1878902 Opened 10 months ago Updated 3 months ago

Investigate clearing site preferences by range

Categories

(Toolkit :: Data Sanitization, task, P3)

task

Tracking

()

People

(Reporter: hsohaney, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: priv-triaged)

We'd like to clear site settings by time range, and estimate how difficult this feature would be for the new clear history dialog.

After looking through the cleaners, These are the flags not cleared by range:

CLEAR_DOM_PUSH_NOTIFICATIONS,
CLEAR_CLIENT_AUTH_REMEMBER_SERVICE,
CLEAR_CERT_EXCEPTIONS,
CLEAR_COOKIE_BANNER_EXCEPTION,
CLEAR_FINGERPRINTING_PROTECTION_STATE

If I recall correctly we discussed this in our 1:1. We clear some settings by time range, such as permissions. For settings cleaners that don't support clearing by time range, do we correctly fall back to clearing all?

Flags: needinfo?(hsohaney)
Priority: -- → P3

By default, if the timerange cleaner is not present, we clear all https://searchfox.org/mozilla-central/rev/8340afd1fb3e7b2727d2efb47df1bd3112db7213/toolkit/components/cleardata/ClearDataService.sys.mjs#1976. All the cleaners have a removeAll() function, so the fallback should work as expected

Flags: needinfo?(hsohaney)
Assignee: harshit.sohaney → nobody
Keywords: priv-triaged
You need to log in before you can comment on or make changes to this bug.