W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2013

[Bug 21424] New: Futures: rename `catch`

From: <bugzilla@jessica.w3.org>
Date: Thu, 28 Mar 2013 16:39:15 +0000
To: www-dom@w3.org
Message-ID: <bug-21424-4009@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21424

            Bug ID: 21424
           Summary: Futures: rename `catch`
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM
          Assignee: annevk@annevk.nl
          Reporter: mathias@qiwi.be
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org

`catch` used to be a reserved word in ES3:
http://mothereff.in/js-properties#catch

It would be better to use a different name that doesn’t cause syntax errors in
older browsers, so that feature detection for Futures can be done without
`try`/`catch`.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Thursday, 28 March 2013 16:39:19 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 28 March 2013 16:39:20 UTC