← Back to release summary

Permission API: "persistent-storage" property

Category
Offline / Storage
Type
New or changed feature
Status
Enabled by default (Chrome 71)
Intent stage
None

Summary

The "persistent-storage" property is a new permission for the Permission API. The permission state can already be queried with navigator.storage.persisted(), with this change navigator.permissions.query({name:"persistent-storage"}) can be used as well.

Standards & signals

Docs: https://storage.spec.whatwg.org/#persistence

View on chromestatus.com