Re: [WebIDL] Exceptions

On Wed, 6 Jul 2011, Aryeh Gregor wrote:
>
> The thing I don't like about this proposal is that it encourages authors 
> to use "e instanceof IndexSizeError" or similar.  This will work 98% of 
> the time and then fail in an extremely mysterious way when multiple 
> globals are involved.  All you need is the exception to be thrown by 
> something in an iframe for whatever reason.

I'm also skeptical of this. The platform uses DOMException almost 
everywhere, and I really don't see what's wrong with that.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Thursday, 7 July 2011 04:04:49 UTC