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

[Bug 16470] New: Exception message contruction

From: <bugzilla@jessica.w3.org>
Date: Wed, 21 Mar 2012 19:22:19 +0000
To: public-script-coord@w3.org
Message-ID: <bug-16470-3890@http.www.w3.org/Bugs/Public/>
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

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