W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2012

Re: use of SyntaxError DOMException

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 27 Apr 2012 07:31:39 +0200
To: www-dom@w3.org
Message-ID: <op.wdesa1xv64w2qv@annevk-macbookpro.local>
On Fri, 27 Apr 2012 01:49:20 +0200, Cameron McCormack <cam@mcc.id.au>  
> If they do remain separate, then should new specs that are throwing an  
> exception due to a syntax error prefer to throw the "SyntaxError"  
> DOMException or the built-in SyntaxError?  I think I have a slight  
> preference for the built-in one, just so we can avoid code properties in  
> a few more places.

That would be quite a confusing edge case I think.

Anne van Kesteren
Received on Friday, 27 April 2012 05:32:10 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:19 UTC