Re: [whatwg] Persistent and temporary storage

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 
(https://developer.tizen.org/dev-guide/2.3.0/org.tizen.mobile.native.apireference/group__CAPI__WEB__DOWNLOAD__MODULE.html)


Regards,
-- 
Janusz Majnert
Senior Software Engineer
Samsung R&D Institute Poland
Samsung Electronics

Received on Friday, 13 March 2015 14:26:21 UTC