Re: use of SyntaxError DOMException

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 UTC