W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2010

Re: [DOM Level 3 Events] re-dispatching an event that already has its flow started

From: Andrew Oakley <andrew@ado.is-a-geek.net>
Date: Mon, 27 Sep 2010 11:16:50 +0100
Message-ID: <4CA06F12.1070003@ado.is-a-geek.net>
To: Sergey Ilinsky <sergey@ilinsky.com>
CC: www-dom@w3.org
On 24/09/10 20:22, Sergey Ilinsky wrote:
> I could not find details regarding if it is legal to call dispatchEvent
> function with an event object that is already being propagated as its
> argument.
> 
> Should this result into exception?

dispatchEvent lists the following exception:
> DISPATCH_REQUEST_ERR: Raised if the Event object is already being dispatched.

I'm not sure if thats "good enough" or if the specification should say
somewhere that an event can only have one current dispatch.

-- 
Andrew Oakley
Received on Monday, 27 September 2010 10:21:06 GMT

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