Re: [whatwg] Storage Standard

2015-05-04 Thread Anne van Kesteren
On Fri, May 1, 2015 at 9:40 PM, Jonas Sicking jo...@sicking.cc wrote: 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/ I'm sorry, what do you mean by

Re: [whatwg] Storage Standard

2015-05-04 Thread Anne van Kesteren
On Mon, May 4, 2015 at 9:47 PM, Jonas Sicking jo...@sicking.cc wrote: By this I mean the API discussed in this thread :) Well this thread is for the Storage Standard, which has several APIs. More specifically, I'm proposing to remove the persistentPermission() function in favor of using

Re: [whatwg] Storage Standard

2015-05-04 Thread Jonas Sicking
On Mon, May 4, 2015 at 9:54 PM, Anne van Kesteren ann...@annevk.nl wrote: More specifically, I'm proposing to remove the persistentPermission() function in favor of using navigator.permissions.query({ name: persistent-storage }); Okay, I defer to e.g. these recent threads

Re: [whatwg] Storage Standard

2015-05-04 Thread Jonas Sicking
On Mon, May 4, 2015 at 1:58 AM, Anne van Kesteren ann...@annevk.nl wrote: On Fri, May 1, 2015 at 9:40 PM, Jonas Sicking jo...@sicking.cc wrote: 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

Re: [whatwg] Storage Standard

2015-05-01 Thread Jonas Sicking
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

Re: [whatwg] Storage Standard

2015-05-01 Thread delfin
:) ! Is it ready to be spread? --- Delfi Ramirez My digital signature [6] +34 633 589231 del...@segonquart.net [7] twitter: delfinramirez IRC: segonquart Skype: segonquart [8] http://segonquart.net [9] http://delfiramirez.info [10] On 2015-05-01 14:11, Anne van Kesteren

[whatwg] Storage Standard

2015-05-01 Thread Anne van Kesteren
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