Open Bug 1726742 Opened 3 years ago Updated 3 years ago

AuthTokensCleaner support for clearing by principal and baseDomain

Categories

(Toolkit :: Data Sanitization, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: pbz, Unassigned)

References

(Blocks 1 open bug)

Details

The auth tokens cleaner can not clear data for a specific principal or baseDomain and thus over-clears for these cases:
https://searchfox.org/mozilla-central/rev/12770bd668c0a6bdaa8eb96ad9507c6febe8d23d/toolkit/components/cleardata/ClearDataService.jsm#948,952

We should investigate if we can support deleteByPrincipal and deleteByBaseDomain.

This may not be possible for the primary password, since the auth state isn't bound to a site. In this case we should only clear the authed state if the user requests it.

Blocks: 1727141
No longer blocks: 1727141
Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.