Storage quota estimate() API

navigator.storage.estimate() - returns a Promise which resolves to {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 (launch bug) in:

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

Consensus & Standardization

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

Owner

Last updated on 2017-09-20