Following this guide: https://developer.chrome.com/apps/offline_storage#asking_more
When I execute
navigator.webkitPersistentStorage.requestQuota(Number.MAX_SAFE_INTEGER, console.log.bind(console));
I receive output 10737418240 bytes (10.73GB)
, which is the calculated maximum size when using Temporary storage:
(available storage space + storage being used by apps) * .5
However, I did press OK to allow allocating more storage than that. So why don't I get the requested storage?
An application can have a larger quota for persistent storage than temporary storage, but you must request storage using the Quota Management API and the user must grant you permission to use more space.