This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The spec currently says that the name of a DOMError must return the name it was set to. For the sake of platform consistency (between exceptions and errors), it would be helpful if the spec recommended that people use the names from the "error names table" instead of inventing new ones: http://dom.spec.whatwg.org/#error-names-table I imagine specs that use Futures are going to make extensive use of DOMError, so it would be good to add this now (if the WG agrees with the recommendation).
It already says: "As with exceptions, the error names table is used." And the specification says: "If an error name is not listed here, please file a bug as indicated at the top of this specification and it will be addressed shortly. Thanks!" What more is needed?
Ok, I see what happened ... When a spec links to DOMError the Note is off screen (see http://dom.spec.whatwg.org/#domerror). Please move the note about the error names below the IDL box or people won't see it.
https://github.com/whatwg/dom/commit/b67207f384f7e4901de5ec4cf13e25ca4acee55d