Google chrome navigator.webkitPersistentStorage.requestQuota是否适用于IndexedDB?

Google chrome navigator.webkitPersistentStorage.requestQuota是否适用于IndexedDB?,google-chrome,local-storage,google-chrome-app,indexeddb,persistent-storage,Google Chrome,Local Storage,Google Chrome App,Indexeddb,Persistent Storage,使用今天最新版本的Chrome for Android,我可以通过navigator.webkitPersistentStorage.requestQuota请求持久IndexedDB存储吗 var requestedBytes = 1024*1024*1024; navigator.webkitPersistentStorage.requestQuota ( requestedBytes, function(grantedBytes) { console.log

使用今天最新版本的Chrome for Android,我可以通过
navigator.webkitPersistentStorage.requestQuota
请求持久IndexedDB存储吗

var requestedBytes = 1024*1024*1024; 

navigator.webkitPersistentStorage.requestQuota (
    requestedBytes, function(grantedBytes) {  
        console.log('we were granted ', grantedBytes, 'bytes');

    }, function(e) { console.log('Error', e); }
);

或者,
navigator.webkitPersistentStorage.requestQuota
是否仍仅适用于
文件系统API

navigator.webkitPersistentStorage.requestQuota
仅适用于沙盒文件系统API

您需要新的
navigator.storage.persist()
api,它适用于所有站点存储