WorkerNavigator: storage property

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

Note: This feature is only available in Web Workers.

The storage read-only property of the WorkerNavigator interface returns the singleton StorageManager object used to access the overall storage capabilities of the browser for the current site or app. The returned object lets you examine and configure persistence of data stores and learn approximately how much more space your browser has available for local storage use.

Value

A StorageManager object you can use to maintain persistence for stored data, as well as to determine roughly how much room there is for data to be stored.

Specifications

Specification
Storage
# dom-navigatorstorage-storage

Browser compatibility

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
storage

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

See also