Can't we use the permission API [1] for this? I.e. use the permission
name "persistent-storage" or some such? So rather than "default" we're
return "prompt".

[1] https://w3c.github.io/permissions/

/ Jonas

On Fri, May 1, 2015 at 5:11 AM, Anne van Kesteren <ann...@annevk.nl> wrote:
> Based on the discussion on this list and on:
>
>   https://wiki.whatwg.org/wiki/Storage
>   https://github.com/slightlyoff/StorageDurability
>
> Here's a first draft:
>
>   https://storage.spec.whatwg.org/
>   https://github.com/whatwg/storage
>   https://twitter.com/storagestandard
>
> It does not address multiple boxes for now. I hope we can continue
> discussing those in parallel, perhaps in the GitHub repository, as
> they are important to the gaming industry. Boxes can really help in
> the case where the site is trying to do the right thing and wants to
> avoid prompting the user, and also would allow introducing new global
> strategies such as an actual API-exposed cache (service workers' Cache
> API is all-or-nothing like any other API), or boxes with a max-age.
>
>
> --
> https://annevankesteren.nl/

Reply via email to