Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The persisted()
method of the StorageManager
interface returns a Promise
that resolves to true
if your site's storage bucket is persistent.