Requests a new quota for the requesting application.
object.requestQuota(/* see parameter list */);
- unsigned long
The requested new quota, expressed in bytes.
This callback is used to return new quota information granted by a User Agent. Quota is provided by the grantedQuotaInBytes parameter.
void (unsigned long grantedQuotaInBytes)
This callback is used to return information when an error has occured. Details are provided by the error parameter.
void (DOMError error)
No return value
It is not guaranteed that the requested amount of space is granted just by calling this API. Calling this API may trigger user prompting to request explicit user permission to proceed. The successCallback callback may return a smaller amount of quota than requested.
- W3C Quota Management API
- W3C Working Draft