Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The StorageManager
interface of the Storage API provides an interface for managing persistence permissions and estimating available storage. You can get a reference to this interface using either navigator.storage
or WorkerNavigator.storage
.