W3C home > Mailing lists > Public > public-webapi@w3.org > April 2008

Re: [DOML3Events] ACTION-267 Proposal for event iterator

From: Jonas Sicking <jonas@sicking.cc>
Date: Wed, 09 Apr 2008 19:17:36 -0700
Message-ID: <47FD78C0.4000009@sicking.cc>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: Web API public <public-webapi@w3.org>

Boris Zbarsky wrote:
> 
> Jonas Sicking wrote:
>> oldAddEL = EventTarget.prototype.addEventListener;
>> Node.prototype.addEventListener = function(type,
> 
> I should note that this wouldn't work in recent Geckos, by the way...

I think it might actually, since addEventListener isn't on the nodes 
prototype chain normally.

But in any case if the above didn't work it's a Gecko bug and not 
something we should design APIs around.

/ Jonas
Received on Thursday, 10 April 2008 02:19:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 10 April 2008 02:20:01 GMT