Summary: The Storage Standard defines an API for persistent storage and quota estimates. The estimate() <https://storage.spec.whatwg.org/#dom-storagemanager-estimate> method can be used to determine whether there is enough space left to download, estimate() method returns both usage and quota per a origin.
Bug: <goog_1558447461> https://bugzilla.mozilla.org/show_bug.cgi?id=1267941 Link to standard: <https://drafts.csswg.org/css-transitions-2/#eventdef-transitionevent-transitionstart> https://storage.spec.whatwg.org/#dom-storagemanager-estimate <https://drafts.csswg.org/css-transitions-2/#eventdef-transitionevent-transitionstart> Platform coverage: all platforms. Estimated or target release: 51 Preference behind which this will be implemented: Not needed. DevTools bug: Not needed? Because Storage API needs to have SecureContext support, but currently not having isSecureContext available in Workers (bug 1269052) is problematic. Can we initially release the Storage API without Worker support? _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform