[Bug 16470] New: Exception message contruction

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

           Summary: Exception message contruction
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
        AssignedTo: cam@mcc.id.au
        ReportedBy: w3c@marcosc.com
         QAContact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-script-coord@w3.org


I might have screwed something up, but implementing the algorithm can result in
message becoming "undefined", from this line: 

Test case:
var test = new FooError() 

Then: 
function(arg0) {
  //.... arg0 is undefined. 
  //If n > 0, then:
   if (arguments.length > 0) {

  //Let S be the result of calling ToString(arg0).
  var S = ECMAScript.ToString(arg0);

Maybe the spec should check that arg0 is not undefined? 

Question: can a default message be set somehow in through the IDL?

-- 
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:22:21 UTC