W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2011

[Bug 14887] New: Prototype of exception interface objects is Object.prototype in implementations, not Error.prototype

From: <bugzilla@jessica.w3.org>
Date: Sun, 20 Nov 2011 17:25:58 +0000
To: public-script-coord@w3.org
Message-ID: <bug-14887-3890@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14887

           Summary: Prototype of exception interface objects is
                    Object.prototype in implementations, not
                    Error.prototype
           Product: WebAppsWG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
        AssignedTo: cam@mcc.id.au
        ReportedBy: ayg@aryeh.name
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, public-script-coord@w3.org


Object.prototype.isPrototypeOf(DOMException.prototype) is true in all browsers
(IE9, Firefox 11a1, Chrome 17 dev, Opera 12.00).  4.9.2 in the spec says it
should be Error.prototype, not Object.prototype.  If the spec is changed to
match browsers here, .toString needs to be defined on the prototypes, and
possibly .message as well.

-- 
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 Sunday, 20 November 2011 17:26:00 UTC

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