W3C home > Mailing lists > Public > public-webapi@w3.org > March 2007

Re: DOM Events

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Thu, 29 Mar 2007 12:31:33 +0300
Message-ID: <460B8775.4030701@helsinki.fi>
To: Jean-Yves Bitterlich <Jean-Yves.Bitterlich@Sun.COM>
CC: public-webapi@w3.org, chaals@opera.com

Jean-Yves Bitterlich wrote:
> * DOM3/Event/EventTarget
> Specification: http://www.w3.org/TR/2006/WD-DOM-Level-3-Events-20060413/
> Method: EventTarget.dispatchEvent(Event evt)
> It is unclear how to notify an application about incorrect event target, when correct event is being dispatched to incorrect eventTarget by EventTarget.dispatchEvent(Event evt).
> Declared exceptions in the "Throws" part aren't suitable for this goal.
> EventException.DISPATCH_REQUEST_ERR may be used for synchronization of dispatching some correct event to different nodes in different threads.

How can one dispatch an event to "incorrect event target"? Either the 
object is an event target (in which case you can dispatch the event) or 
it is not event target.

Do you mean that event targets should be able to restrict the types of 
events which can be dispatched to them? If yes, what would be the use case?

Received on Thursday, 29 March 2007 09:32:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:23 UTC