[Bug 16470] Exception message contruction

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16470

--- Comment #1 from Marcos Caceres <w3c@marcosc.com> 2012-03-21 19:38:55 UTC ---
Also, I think the Exception JS binding section is confusing with regards to
setting message (when no argument is missing). It should be a bit more clear
that ECMAscript Error gives you message and type in the prototype.  

Generally, I've struggled a bit with the exception stuff... it is a bit all
over the place. I have to bounce between many parts of the spec to find all the
bits I need to put it together. It would be much easier if everything was
brought together in one place with less critical bits missing from definitions.
I guess once I'm done you will be able to see how I had to copy/paste parts of
the spec into a kind of Frankenstein... I shouldn't have to do that when
following algorithms (ECMAScript does this really nicely). 

code is here: 

https://github.com/marcoscaceres/ECMAScriptInJS/blob/master/WebIDL.js

Search for "ExceptionFactory".

-- 
Configure bugmail: https://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 Wednesday, 21 March 2012 19:38:59 UTC