Blink used to add an anonymous named property getter to the Storage interface (used by sessionStorage and localStorage) that behaved slightly differently from the getItem() method. The anonymous getter has been removed, and getItem() is now used behind the scenes instead. One visible consequence is that attempting to access a key that does not exist via the getter will return null instead of undefined.

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