Re: [DOM3Events] Exceptions

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 UTC