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

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