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

Re: [Events] removeEventListener on EventListeners currently being processed

From: Philippe Le Hegaret <plh@w3.org>
Date: Mon, 20 Aug 2001 14:52:57 -0400
Message-ID: <3B815C89.C84E49B5@w3.org>
To: Curt Arnold <carnold@houston.rr.com>
Cc: www-dom@w3.org, "Michael B. Allen" <mballen@erols.com>, David Brownell <david-b@pacbell.net>
Curt Arnold wrote:
> In the following passage, my original statement is preceded by >>
> "Arnaud Le Hors" <lehors@us.ibm.com> wrote (>)
> > > The third test checks removing an event listener in the middle of an
> > > event dispatch sequence.  The spec says that a listener should recieve
> > > no events after removal.
> >
> > You're right there, that's what the spec currently says. But the spec is
> > wrong, though. It is meant to say the opposite. I just double-checked
> > with Joe Kesselman who was very much involved in the development of that
> > spec and who implemented it in Xerces and he confirmed my fears.
> > I will bring it up to the DOM Working Group, I would expect an erratum
> > to be published.

The DOM Level 2 specification reflects our intent. An event listener will never
be invoked after it is removed.

> Of course, deliberations of the DOM WG aren't available to the public.

I did the search and found the response ... in the DOM public mailing list.

We changed the specification following a comment from Ralph Levien during the CR

Received on Monday, 20 August 2001 14:53:39 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:09 UTC