Re: [whatwg/storage] `estimate()` and `persistentEstimate()` incompatible with whole-origin persistence (#15)

The idea was that the non-persistent quota could be shared across a registrable domain (eTLD+1). As far as I know that's the case in some implementations today. So these would mainly report different numbers because of that.

But yeah, perhaps something like estimate() and siteEstimate() with the methods branching on box type would be better. And maybe we should leave `siteEstimate()` out for now since last I heard at least Firefox has some plans to move towards strictly using origins here.

Cookies of course would still be a bit of a wild card, but they still make more sense to me as being categorized together with the HTTP cache and not be affected by this API so much. Not sure.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/storage/issues/15#issuecomment-203469122

Received on Wednesday, 30 March 2016 14:49:23 UTC