This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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).
Should I just remove it from the list of "simple exceptions" then? If it's not meant to be used anywhere else that'd be better than warning people off it.
Yeah I guess that's fine. Perhaps better to change IDL to allow it once there's an Allen-vetted use case.
Done: https://github.com/heycam/webidl/commit/8963248ebcddfc33f1296402c7e6566749d5e2d0