这是
实验性技术
检查
浏览器兼容性表格
要小心谨慎在生产中使用这之前。
requestPersistentQuota()
特性为
StorageQuota
interface requests persistent storage for the requesting application and returns a
Promise
to an instance of
StorageInfo
.
There is no guarantee that the requested space will be granted by the user agent.
StorageQuota.requestPersistentQuota().then(function(storageInfo) { ... })
None.
A reference to a
StorageInfo
对象。
| 规范 | 状态 | 注释 |
|---|---|---|
|
Quota Management API
The definition of 'requestPersistentQuota()' in that specification. |
过时 | 初始定义。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
requestPersistentQuota
弃用
|
Chrome 14 | Edge ≤79 | Firefox ? | IE ? | Opera ? | Safari ? | WebView Android 37 | Chrome Android 18 | Firefox Android ? | Opera Android ? | Safari iOS ? | Samsung Internet Android 1.0 |
完整支持
兼容性未知
弃用。不要用于新网站。
StorageQuota
queryInfo
requestPersistentQuota
supportedTypes