Storage quota estimate() API

navigator.storage.estimate() - returns a Promise which resolves with {usage, quota} values in bytes.

Comments

Only exposed in secure contexts (HTTPS, localhost). Can be polyfilled using navigator.webkitTemporaryStorage.queryUsageAndQuota()

Documentation

Specification

Editor's draft

Status in Chromium

Blink>Storage>Quota


Enabled by default (tracking bug) in:

  • Chrome for desktop release 61
  • Chrome for Android release 61
  • Android WebView release 61

Consensus & Standardization

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

  • In development
  • Public support
  • No public signals
  • No signals

Owner

Last updated on 2017-12-13