[permissions] This could replace the Quota Management API? (#51)

I'm thinking in style of:

    var bytes = 20*1024*1024; /* 20 MB */
    navigator.permissions.request({name: "localstorage", quota: bytes})

> The plan is to put all HTML5 offline storage APIs—including IndexedDB, Application Cache, File System,{# LocalStorage, SessionStorage,#} and other APIs that might be specified—under the Quota Management API. You will be able to manage all storage allocation with it.
ref: https://developer.chrome.com/apps/offline_storage#future

[Quota Management API][1]

[1]: http://www.w3.org/TR/quota-api/


---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/issues/51

Received on Thursday, 8 October 2015 14:17:02 UTC