WorkerNavigator.storage
安全なコンテキスト用: この機能は一部またはすべての対応しているブラウザーにおいて、安全なコンテキスト (HTTPS) でのみ利用できます。
WorkerNavigator.storage
は読み取り専用のプロパティで、現在のサイトまたはアプリのブラウザーの全体的なストレージ機能にアクセスするために使用されるシングルトンの StorageManager
オブジェクトを返します。
返されたオブジェクトにより、データストアの持続性を調べたり、設定したり、ブラウザーがローカルストレージを使用するために利用できる空間があとどのくらいあるのかをおおよそ知ることができます。
値
格納されたデータの永続性を維持するために使用できる StorageManager
オブジェクトで、格納するデータの空き容量を大まかに判断することができます。
仕様書
Specification |
---|
Storage # dom-navigatorstorage-storage |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
storage |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.