Thanks for working on this! Clear-Site-Data seems pretty essential to
have now we ship service workers.

On Fri, Jun 1, 2018 at 6:26 PM, Andrea Marchesini
<amarches...@mozilla.com> wrote:
> Note for the DOM/QuotaManager/ServiceWorker people: this component covers
> all the DOM storages under 1 single flag: CLEAR_DOM_QUOTA. This is done
> because I know that the integration of localStorage and
> ServiceWorkerRegistrar into QuotaManager is in progress. Plus, there are no
> reasons to delete just localStorage, or just ServiceWorkers or just IDB
> data.

It is even disallowed as it likely messes with the expectations of the
site: https://storage.spec.whatwg.org/#buckets

> A bucket is considered to be an atomic unit.
> Whenever a bucket is cleared by the user
> agent, it must be cleared in its entirety.

(There's still quite a bit of work to be done to actually layer all
these APIs properly on top of the Storage Standard, but one day I'm
sure we'll get rid of our technical debt.)


-- 
https://annevankesteren.nl/
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to