As per the specs https://storage.spec.whatwg.org/#storagemanager , navigator.storage should return a Promise. It currently returns undefined When will this API be available? The amount of storage is 50MB max for Webkit, hence it is very important to estimate the available quota. Also , will storage persist API be exposed to developers ?
*** This bug has been marked as a duplicate of bug 231826 ***