[spec-reviews] Feedback on DOMError -> DOMException in Indexed DB (#88)

Based on the general guidance "[DOMError is dead](https://dom.spec.whatwg.org/#domerror), use DOMException instead", in the [Indexed DB "Second Edition"](https://w3c.github.io/IndexedDB/) we've basically done a `s/DOMError/DOMException/g` find/replace. This should not impact most scripts, since the attributes present on DOMError (`name`, `message`) are present in DOMException. The only impact would be scripts that do `instanceof` tests on the type of the object.

There's been [feedback](https://groups.google.com/a/chromium.org/d/msg/blink-dev/XAlBg66UB7c/OxzdfYvU6rIJ) that this might seem a bit odd, as it's the first place that DOMExceptions surface as attribute values rather than as thrown exceptions/promise rejections. Also, they aren't subclassed as e.g. IDBError or anything fancy like that.

TAG, what say you?


---
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/spec-reviews/issues/88

Received on Thursday, 15 October 2015 21:31:13 UTC