Re: [whatwg] Storage Standard

2015-05-04 Thread Jonas Sicking
On Mon, May 4, 2015 at 9:54 PM, Anne van Kesteren 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 > > https://github.com/w3

Re: [whatwg] Storage Standard

2015-05-04 Thread Anne van Kesteren
On Mon, May 4, 2015 at 9:47 PM, Jonas Sicking 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 navigator.perm

Re: [whatwg] Storage Standard

2015-05-04 Thread Jonas Sicking
On Mon, May 4, 2015 at 1:58 AM, Anne van Kesteren wrote: > On Fri, May 1, 2015 at 9:40 PM, Jonas Sicking 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://

Re: [whatwg] Storage Standard

2015-05-04 Thread Anne van Kesteren
On Fri, May 1, 2015 at 9:40 PM, Jonas Sicking 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 "this"