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

[Bug 26961] New: Recommend against JavaScript SyntaxError

From: <bugzilla@jessica.w3.org>
Date: Fri, 03 Oct 2014 08:16:03 +0000
To: public-script-coord@w3.org
Message-ID: <bug-26961-3890@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26961

            Bug ID: 26961
           Summary: Recommend against JavaScript SyntaxError
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
          Assignee: cam@mcc.id.au
          Reporter: annevk@annevk.nl
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-script-coord@w3.org

http://heycam.github.io/webidl/#dfn-create-exception

We might want to recommend against creating JavaScript SyntaxError from web
standards. Per Allen it is solely intended for parse errors of JavaScript. That
it was used for JSON was a mistake and we should probably not give opportunity
to spread it further (so defaulting to DOMException "SyntaxError" is great
already).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Friday, 3 October 2014 08:16:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:23 UTC