W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2014

[Bug 27062] DOMException constructor should allow name to be supplied

From: <bugzilla@jessica.w3.org>
Date: Mon, 24 Nov 2014 18:58:52 +0000
To: public-script-coord@w3.org
Message-ID: <bug-27062-3890-W7epns1STI@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27062

--- Comment #4 from Domenic Denicola <d@domenic.me> ---
> I'm fine with this, but did you mean you can't do it all, or just not in a single line?

You're right; I didn't read far enough to realize that DOMExceptions created
using the constructor actually don't have any name or code properties. It
doesn't help that the constructor isn't implemented anywhere :).

Nevertheless the PR's refactoring gives a nicer solution IMO, both for authors
and at a spec level.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Monday, 24 November 2014 18:58:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:23 UTC