-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
browsingData RemovalOptions #384
Comments
I'm in favor of this, though I'd have to check technical feasibility, if our underlying platform storage can easily supports this.
Firefox supported |
I believe this page has up to date info about how partitioning works in Firefox, as discussed in today's meeting: https://developer.mozilla.org/en-US/docs/Web/Privacy/State_Partitioning |
Pasting today's meeting notes since it includes relevant external links:
|
Following up from the discussion yesterday, there is some additional complexity here given that browsers may be partitioning storage. This could cause confusing with how Proposal: Allow extension developers to be explicit about partition handling by adding new options
This change would therefore be backwards compatible (calls with
|
The
chrome.browsingData
API provides extensions various methods for removing browser storage (cache, cookies, history etc). These methods take aRemovalOptions
argument, which allows control over what data is deleted. These options, however, differ per platform:excludeOrigins
,originTypes
,origins
,since
.cookieStoreId
,hostnames
,originTypes
,since
.The primary incompatibility is the options that specify which storage is included or excluded from a removal operation. On Chrome, one must specify
origins
, and both inclusive (only delete storage from this set of origins) and exclusive (delete everything except storage from this set of origins) filters are supported. Firefox only supports inclusive filtering, and useshostnames
instead oforigins
.Extensions using this API commonly do so to 'clean' browser storage for performance and/or privacy use-cases. With that use-case, users might wish to preserve data for some sites they're logged in. This requires the exclusive filtering case, which is missing on Firefox. Storage clearing extensions seem to be popular on extension stores, with multiple with 100k+ users. DuckDuckGo is also currently looking into using this API to ship our fire button feature to our extension.
We'd be interested to hear from browser vendors:
excludeOrigins
).origins
orhostnames
. On MDN additional clarification is provided to state that the Firefox API does not expect origins, which indicates some developer confusion due to this difference.The text was updated successfully, but these errors were encountered: