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

Re: [DOM3Events] Exceptions

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 09 Mar 2011 22:38:07 -0500
Message-ID: <4D78479F.9070707@mit.edu>
To: Anne van Kesteren <annevk@opera.com>
CC: "www-dom@w3.org" <www-dom@w3.org>, Jacob Rossi <jrossi@microsoft.com>
On 3/9/11 1:35 PM, Anne van Kesteren wrote:
> 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).

Oh, I was missing that context.  dispatchEvent does not throw 
NOT_SUPPORTED_ERR in Gecko.  The only event-related thing that seems to 
is createEvent.

Trying to redispatch a trusted event will reset it to untrusted, then 
allow redispatch in Gecko.

-Boris
Received on Thursday, 10 March 2011 03:38:41 GMT

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