Secure context
This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
StorageEstimate
提供对你的域名或Web app的数据存储空间总量和已用量的估计值,该对象实例由StorageManager
的estimate()
方法返回的Promise
返回.
这些值仅为估计值有多种原因,既有对性能的考虑,也有防止将其作为指纹(fingerprinting)的目的.详情请参看属性.
属性
该对象目前总是同时包含以下两个属性.
规范
Specification | Status | Comment |
---|---|---|
Storage StorageEstimate |
Living Standard | Initial definition. |
浏览器兼容性
We're converting our compatibility data into a machine-readable JSON format.
This compatibility table still uses the old format,
because we haven't yet converted the data it contains.
Find out how you can help!
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Microsoft Edge | Opera | Safari (WebKit) |
---|---|---|---|---|---|---|
Basic support | 55 | 57 (57) | ? | ? | 42 | ? |
Feature | Android Webview | Chrome for Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | ? | 55 | 57.0 (57) | ? | 42 | ? |