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

Re: [whatwg] Persistent and temporary storage

From: Janusz Majnert <j.majnert@samsung.com>
Date: Fri, 13 Mar 2015 15:25:48 +0100
Message-id: <5502F36C.3090407@samsung.com>
To: whatwg@lists.whatwg.org

On 13.03.2015 15:01, Anne van Kesteren wrote:
> On Fri, Mar 13, 2015 at 2:58 PM, Janusz Majnert <j.majnert@samsung.com> wrote:
>> The real question is why having a quota is useful?
> 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.

>> Native apps are not
>> controlled when it comes to storing data and nobody complains.
> Is there any documentation on how they handle the above scenario? Just
> write to disk until you hit failure?

I think so. This is certainly the case with desktop apps. I also didn't 
find any mention of quota in Android download manager docs 
(http://developer.android.com/reference/android/app/DownloadManager.html) or 
in Tizen's Download API 

Janusz Majnert
Senior Software Engineer
Samsung R&D Institute Poland
Samsung Electronics
Received on Friday, 13 March 2015 14:26:21 UTC

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