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

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

From: Hallvord R. M. Steen <hallvord@opera.com>
Date: Sun, 13 Apr 2008 12:37:10 +0200
To: "Maciej Stachowiak" <mjs@apple.com>, "Travis Leithead" <travil@windows.microsoft.com>
Cc: "Anne van Kesteren" <annevk@opera.com>, "Doug Schepers" <schepers@w3.org>, "Web API public" <public-webapi@w3.org>
Message-ID: <op.t9jo38nqa3v5gv@hr-opera.oslo.opera.com>

On Wed, 09 Apr 2008 23:50:59 +0200, Maciej Stachowiak <mjs@apple.com>  
wrote:

>> I've been specifically requested to add such support into IE by various  
>> customers. Most of their use-cases involve script that is trying to  
>> 'clean-up' event handlers for which they did not set, and do not have a  
>> pre-existing handle to the function callback.

>  Could you be more specific about the use cases?

One use case that hasn't come up but may be better supported by other  
means: debugging.
As far as I can see, there is no view in, say, Firebug that shows me an  
overview of event listeners added with addEventListener(). In many cases  
this would be very useful.

(By "better supported by other means" I meant that an alternative would be  
to enable something like the proposed functionality in "debug mode" or  
"debug builds" only. It seems more useful to me personally to simply have  
it available though.)

-- 
Hallvord R. M. Steen
Core QA JavaScript tester, Opera Software
http://www.opera.com/
Opera - simply the best Internet experience
Received on Sunday, 13 April 2008 10:37:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 13 April 2008 10:37:42 GMT