[Bug 16454] New: SomethingError

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