W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2015

Re: [whatwg] Persistent and temporary storage

From: Anne van Kesteren <annevk@annevk.nl>
Date: Mon, 16 Mar 2015 09:43:04 +0100
Message-ID: <CADnb78gswpATfj-y3u=dN1y3T-Vx2eLjYa2z0kecpJb9-H2kMA@mail.gmail.com>
To: Janusz Majnert <j.majnert@samsung.com>
Cc: WHATWG <whatwg@lists.whatwg.org>
On Fri, Mar 13, 2015 at 3:25 PM, Janusz Majnert <j.majnert@samsung.com> wrote:
> On 13.03.2015 15:01, Anne van Kesteren wrote:
>> The reason developers want it is to know how much they can download
>> and store without getting an exception.
>
> Which still doesn't guarantee they won't get an exception if the device runs
> out of space for whatever reason.

That is true, it would be an estimate (and I think we should name it
as such in the API). With deduplication and compression it can't be
super accurate. It's still better to reason with an estimate than with
nothing at all though, I think.


-- 
https://annevankesteren.nl/
Received on Monday, 16 March 2015 08:43:27 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:29 UTC