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

Re: [DOM3Events] Exceptions

From: Jacob Rossi <jrossi@microsoft.com>
Date: Thu, 10 Mar 2011 00:53:05 +0000
To: "www-dom@w3.org" <www-dom@w3.org>, "annevk@opera.com" <annevk@opera.com>
Message-ID: <D0BC8E77E79D9846B61A2432D1BA4EAE02768F0B@TK5EX14MBXC110.redmond.corp.microsoft.com>
IE9 throws this if you receive a trusted event, cache the event object, then later try to dispatch that event object through dispatchEvent.

-------------------------------------------------------------------------
From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 09 Mar 2011 19:35:53 +0100
To: "www-dom@w3.org" <www-dom@w3.org>, "Jacob Rossi" <jrossi@microsoft.com>
Message-ID: <op.vr29x2dh64w2qv@anne-van-kesterens-macbook-pro.local>
On Wed, 09 Mar 2011 19:04:23 +0100, Jacob Rossi <jrossi@microsoft.com>  
wrote:
> IE9 also throws NOT_SUPPORTED_ERR (per the spec).

I think what Boris and Ojan said is that WebKit and Gecko sometimes throw  
NOT_SUPPORTED_ERR. Not whether they throw it for dispatchEvent() and so  
far nobody has given an example of when dispatchEvent() would throw that  
(in actual code).


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Thursday, 10 March 2011 00:53:41 GMT

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