- From: <bugzilla@jessica.w3.org>
- Date: Fri, 03 Oct 2014 08:16:03 +0000
- To: public-script-coord@w3.org
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