Indexed DB: Replace DOMError with DOMException

DOMError has been removed from the DOM standard in favor of DOMException, and the Indexed DB draft spec has been updated to use DOMException for error attributes. The error attribute on IDBRequest and IDBTransaction will now return DOMException instances instead of DOMError instances. Both types have 'name' and 'message' properties, so code that tests properties (e.g. request.error.name) or does logging (e.g. transaction.error.message) will be unaffected.

Comments

Intent thread: https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/XAlBg66UB7c/G4GNCFLnwCQJ

Demos

Specification

Editor's draft

Status in Chromium

Behind a flag (launch bug) in:

  • Chrome for desktop release 48
  • Chrome for Android release 48

Consensus & Standardization

  • Public support
  • No public signals
  • No public signals
  • No signals

Owner

Last updated on 2016-01-14