The only possibly-related code I see in Firefox's "Forget about this
Site" functionality is this:

http://hg.mozilla.org/mozilla-central/annotate/261d6997d1d1/toolkit/forgetaboutsite/ForgetAboutSite.jsm#l179

Which uses nsIQuotaManager. A quick look at the implementation
suggests it doesn't cover "appcache" storage, though (I could be
wrong, our various storage systems confuse me). If so, Firefox's
"Forget about this Site" functionality isn't quite doing a good enough
job forgetting, which sounds like an important bug to fix.

Gavin

On Mon, Apr 15, 2013 at 6:54 AM,  <mratcli...@mozilla.com> wrote:
> I believe I can clear *all* appcache entries using:
> Services.cache.evictEntries(Ci.nsICache.STORE_OFFLINE);
>
> But how the heck do I:
> - Clear all entries for a single cache group
> - Clear all entries for a string match (e.g. domain)
> - Clear a single entry (or by URI)
>
> I have been trying to work this out for a few days now but surely somebody 
> knows how it can be done, surely it can be done?
>
> We need good appCache DevTools but we really need this capability in order to 
> write them, ask Potch, he understands my pain.
>
> /me resolves to stop banging my head against the wall, the appcache scares me.
> _______________________________________________
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to