On Thu, Feb 3, 2011 at 3:59 PM, JoÄo Eiras <joao.eiras@gmail.com> wrote:
>
>>> 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.
I think the idea with this spec is that it *requires* that
implementations share quota between its various storage mechanisms. As
an implementor I think this is a good idea.
/ Jonas