W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2011

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

From: Joćo Eiras <joao.eiras@gmail.com>
Date: Thu, 03 Feb 2011 23:59:18 -0000
To: public-webapps@w3.org
Message-ID: <op.vqcp84qgjz3wb9@coruscant>

>> 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:16 UTC