W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2013

[Bug 24000] New: DOMException should extend ES Error

From: <bugzilla@jessica.w3.org>
Date: Thu, 05 Dec 2013 08:33:20 +0000
To: www-dom@w3.org
Message-ID: <bug-24000-4009@http.www.w3.org/Bugs/Public/>

            Bug ID: 24000
           Summary: DOMException should extend ES Error
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Windows 3.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM
          Assignee: annevk@annevk.nl
          Reporter: w3c@marcosc.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org

To make DOMException Promises friendly, the DOMException IDL definition needs
to extend ES Error. See:

Testing the following:

try {
} catch (e) {
    alert(e instanceof Error)

The latest versions of Chrome, Safari, and IE return true. FF returns false.

You are receiving this mail because:
You are on the CC list for the bug.
Received on Thursday, 5 December 2013 08:33:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:03 UTC