[Bug 10623] Simplify Web IDL exceptions


--- 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