Re: [quota-api] API change suggestions

I think the StorageQuotaInfo interface makes sense.


Another change I would suggest is to make this API also usable synchronously

1) It would be more consistent with other APIs providing both interfaces like XHR, FileReader, FileSystem, IndexedDB, Web SQL,

2) As some of the mentioned APIs explain, synchronous JS code is non-blocking in Web Workers, and it clearly simplify the code and the debugging

3) As we will probably implement it on server-side in Wakanda, we would provide both a synchronous and asynchronous API (Wakanda allows both modes)




Alexandre Morgaut
Wakanda Community Manager

4D SAS
60, rue d'Alsace
92110 Clichy
France

Standard : +33 1 40 87 92 00
Email :    Alexandre.Morgaut@4d.com
Web :      www.4D.com

Received on Thursday, 4 October 2012 12:08:48 UTC