W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

Re: [WebIDL] Exceptions

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 7 Jul 2011 04:04:05 +0000 (UTC)
To: Aryeh Gregor <Simetrical+w3c@gmail.com>
Cc: Anne van Kesteren <annevk@opera.com>, WebApps WG <public-webapps@w3.org>
Message-ID: <Pine.LNX.4.64.1107070359570.20871@ps20323.dreamhostps.com>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:46 GMT