Re: [DOM3Events] Exceptions

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 UTC