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>  
wrote:
> 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
http://annevankesteren.nl/
Received on Friday, 27 April 2012 05:32:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:09 GMT