Re: Intent to ship: Storage API estimate method

2016-09-23 Thread smaug
On 09/22/2016 02:57 AM, Andrew Overholt wrote: On Thu, Sep 22, 2016 at 2:03 AM, smaug wrote: On 09/21/2016 04:42 AM, Shawn Huang wrote: ​Because ​Storage API needs to have SecureContext support, but currently not having isSecureContext available in Workers (bug 1269052)

Re: Intent to ship: Storage API estimate method

2016-09-23 Thread Xidorn Quan
On Wed, Sep 21, 2016, at 01:42 PM, Shawn Huang wrote: > Summary: > ​The Storage Standard defines an API for persistent storage and quota > estimates. > ​The estimate() > method can > be used to determine whether there is enough space

Re: Intent to ship: Storage API estimate method

2016-09-21 Thread Andrew Overholt
On Thu, Sep 22, 2016 at 2:03 AM, smaug wrote: > > On 09/21/2016 04:42 AM, Shawn Huang wrote: > >> >> ​Because ​Storage API needs to have SecureContext support, but currently >> not having isSecureContext available in Workers (bug 1269052) is >> problematic. Can we initially

Re: Intent to ship: Storage API estimate method

2016-09-21 Thread smaug
What is the implementation status in other browsers? On 09/21/2016 04:42 AM, Shawn Huang wrote: Summary: ​The Storage Standard defines an API for persistent storage and quota estimates. ​The estimate() method can be used to

Intent to ship: Storage API estimate method

2016-09-20 Thread Shawn Huang
Summary: ​The Storage Standard defines an API for persistent storage and quota estimates. ​The estimate() method can be used to determine whether there is enough space left to download, estimate() method returns both usage and quota