Closed Bug 707870 Opened 9 years ago Closed 9 years ago
DOMEvent Target Helper should Disconnect m Listener Manager itself
I don't know if it is expected that mListenerManager has to be disconnected by class inheriting from nsDOMEventTargetHelper but that seems a very bad design because developers writing code for those class don't know at a first glance this is needed. In addition, most usage consist of disconnecting in the inherited class dtor so we could just do that in nsDOMEventTargetHelper dtor. Disconnecting at another moment will still work.
WindowRoot is actually creating its own mListenerManager instance.
Whiteboard: [needs review]
Target Milestone: --- → mozilla11
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.