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.

Documentation

Specification

Established standard

Status in Chromium

Blink>Storage


Enabled by default (tracking bug) in:

  • Chrome for desktop release 71
  • Chrome for Android release 71

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • Shipped/Shipping
  • No signal
  • No signal
  • No signals

Owner

Comments

In Chrome, when persisted() reports false the permission API will report "prompt", and when persisted() reports true the permission API will report "granted"

Search tags

persistent, durable storage, permissions,

Last updated on 2020-11-09