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

[Bug 16454] New: SomethingError

From: <bugzilla@jessica.w3.org>
Date: Tue, 20 Mar 2012 18:25:41 +0000
To: public-script-coord@w3.org
Message-ID: <bug-16454-3890@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16454

           Summary: SomethingError
           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


The spec says "When an algorithm says to “throw a SomethingError” then this
means to construct a new ECMAScript SomethingError object and to throw it, just
as the algorithms in ECMA-262 do."

But you only ever throw a TypeError (or I could not find any other type of
error?). I think it would be better to have all throw TypeError just link
directly to ECMAScript5.

-- 
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 Tuesday, 20 March 2012 18:25:46 UTC

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