W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2011

[Bug 10623] Simplify Web IDL exceptions

From: <bugzilla@jessica.w3.org>
Date: Fri, 24 Jun 2011 13:39:00 +0000
To: public-script-coord@w3.org
Message-Id: <E1Qa6b6-0004Xr-2c@jessica.w3.org>

--- Comment #7 from Anne <annevk@opera.com> 2011-06-24 13:38:58 UTC ---
So how exactly would we change DOMException to use this new model and what
would happen to .code checking? (As that is definitely out there.)

I guess I do not really see the problem with minting new constants when needed
and adding them to DOMException and just have .name as a convenient checking
method. Before having e.name == "SYNTAX_ERR" (where e is a DOMException as it
is today) was not deemed problematic, why is it now?

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Friday, 24 June 2011 13:39:01 UTC

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