Re: Quota API to query/request quota for offline storages (e.g. IndexedDB, FileSystem)

>> Before storing X amount of data with an API, the code requests enough
>> space for the storage area that API covers. That's how I understand
>> the use case. Then it's up to the user agent to communicate that
>> appropriately to the user, if applicable.
>
> Why would we need to have the app specify "I want to store 5MB in
> indexedDB and 3MB in the FileSystem"?  The user won't care; at most,
> the user needs to know "This app wants to use up 8MB of space".  If
> the user doesn't care, why make the app make two requests?

Because the user agent needs to differentiate which api will use each quota.

Received on Thursday, 3 February 2011 23:59:54 UTC