W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2012

[Bug 16470] Exception message contruction

From: <bugzilla@jessica.w3.org>
Date: Wed, 21 Mar 2012 22:38:26 +0000
To: public-script-coord@w3.org
Message-Id: <E1SAUAk-0006dV-0I@jessica.w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:05 UTC