W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2010

[Bug 10622] New: ECMAScript binding for exceptions

From: <bugzilla@jessica.w3.org>
Date: Mon, 13 Sep 2010 07:46:16 +0000
To: public-webapps@w3.org
Message-ID: <bug-10622-2927@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10622

           Summary: ECMAScript binding for exceptions
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
        AssignedTo: cam@mcc.id.au
        ReportedBy: annevk@opera.com
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, public-webapps@w3.org


They should inherit from Error. Furthermore, there should be a way for me to
declare what the Error name exception field would return, ideally via a
shorthand.

For DOMException the name exception field has to return the constant the code
exception field returns, as a string. So e.g. for a NAMESPACE_ERR the name
exception field would return "NAMESPACE_ERR".

-- 
Configure bugmail: http://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 Monday, 13 September 2010 07:46:18 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:40 GMT