The methods belonging to the Storage IDL interface (available via sessionStorage and localStorage), such as getItem(), clear() and removeItem() are now enumerable as mandated by the HTML spec. They are not returned by Object.keys(), but do appear in e.g. for-in loops.

Specification

Established standard

Status in Chromium

Blink>Storage>DOMStorage


Enabled by default (tracking bug) in:

  • Chrome for desktop release 63
  • Chrome for Android release 63
  • Android WebView release 63

Consensus & Standardization

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

  • Shipped/Shipping
  • No signal
  • Shipped/Shipping
  • No signals

Owner

Last updated on 2020-11-09