- From: <bugzilla@jessica.w3.org>
- Date: Wed, 21 Sep 2011 16:47:17 +0000
- To: public-html-bugzilla@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13684 Anne <annevk@opera.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |annevk@opera.com --- Comment #10 from Anne <annevk@opera.com> 2011-09-21 16:47:14 UTC --- Pretty sure this needs a hook in DOM4 (DOM Level 3 Events is wrong in that they are nothing special). http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1143 Using both addEventListener and on* you can register the same listener twice. And you cannot remove the listener added with addEventListener by setting on* to null, etc. I think event listener needs an additional "event handler flag". When you set on* it first removes any event listeners for type=type, listener=listener, event handler flag set, then it appends a new event listener for type=type, listener=listener, with the event handler flag set. addEventListener meanwhile never has the event handler flag set and when doing equality checking it always checks for unset. -- Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Wednesday, 21 September 2011 16:47:23 UTC