On Wed, Jul 17, 2013 at 7:10 PM, Jonas Sicking <[email protected]> wrote:
> Good point. It's entirely plausible that we could simply use the ES
> SyntaxError in all cases where DOMException SyntaxError is being
> thrown today. Would need to be tested though.

SyntaxError is used by JavaScript for syntax errors in JavaScript. We
shouldn't use it for where we throw "SyntaxError" in platform APIs
today per discussion with Allen. (He considered the usage for JSON
already as a mistake.)


-- 
http://annevankesteren.nl/
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to