[Bug 16470] Exception message contruction

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

Cameron McCormack <cam@mcc.id.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Cameron McCormack <cam@mcc.id.au> 2012-03-21 22:38:25 UTC ---
Do you mean that passing undefined to built-in error constructors will result
in no message being set, while for Web IDL error constructors it will set the
message to "undefined"?  If so, you're right, we should follow what the
built-in ones do.

Default messages cannot be set in the IDL.

I've added a clarifying note that setting the message property shadows the one
from Error.prototype.

http://dev.w3.org/cvsweb/2006/webapi/WebIDL/Overview.xml.diff?r1=1.489;r2=1.491;f=h

-- 
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 22:38:28 UTC