W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2011

Re: [DOM3Events] Exceptions

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 09 Mar 2011 13:21:51 +0100
To: "Ojan Vafai" <ojan@chromium.org>
Cc: www-dom@w3.org
Message-ID: <op.vr2smpbq64w2qv@anne-van-kesterens-macbook-pro.local>
On Wed, 09 Mar 2011 09:21:52 +0100, Ojan Vafai <ojan@chromium.org> wrote:
> WebKit does throw NOT_SUPPORTED_ERR in a number of cases (see
> http://codesearch.google.com/codesearch?as_q=NOT_SUPPORTED_ERR&vert=chromium&as_lang=c%2B%2B&as_filename=WebKit).
> I haven't looked at most of these to see if they are actually valid uses  
> of this exception or if the code can even be hit. It took some hunting  
> but I
> finally got it to fire in one case to fire in a real page,
> http://plexode.com/eval3/#jt=document.createTreeWalker().

I only meant NOT_SUPPORTED_ERR in the context of the dispatchEvent()  
method. (There are a few cases outside that where I can get it thrown,  
e.g. for createEvent().)


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Wednesday, 9 March 2011 12:22:21 GMT

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