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

Re: [Events] removeEventListener on EventListeners currently being processed

From: Curt Arnold <carnold@houston.rr.com>
Date: Sat, 18 Aug 2001 22:13:37 -0500
Message-ID: <003e01c1285c$f2344a60$a800a8c0@CurtMicron>
To: <www-dom@w3.org>
The change appeared to occur between then 7 March 2000 and 20 May 2000 drafts.  The language is pretty explicit, the current Xerces-J (and gnu whatever) implementation is consistent with the 7 March draft and inconsistent with the 20 May and eventual recommendation.  

This does not appear to be an editorial or clarification issue, but invalidating a purposeful change to the spec.

From http://www.w3.org/TR/2000/CR-DOM-Level-2-20000307/events.html#Events-EventTarget-removeEventListener (2 March 2000)

This method allows the removal of event listeners from the event target. If an EventListener is removed from an EventTarget while it is processing an event, it will still be triggered by the current actions but will not be triggered again during any later stages of event flow, such as bubbling.
Calling removeEventListener with arguments which do not identify any currently registered EventListener on the EventTarget has no effect.

From http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/events.html#Events-EventTarget-removeEventListener (20 May 2000 and very close if not identical to the text in the recommendation)

This method allows the removal of event listeners from the event target. If an EventListener is removed from an EventTarget while it is processing an event, it will not be triggered by the current actions. EventListeners can never be invoked after being removed.
Calling removeEventListener with arguments which do not identify any currently registered EventListener on the EventTarget has no effect.
Received on Saturday, 18 August 2001 23:13:55 GMT

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