Community
Participate
Working Groups
Build Identifier: M20100909-0800 If you attach an event handler to the nsiDOMDocument object obtained from the mozilla browser, and then remove the handler; the native code holds on to the handler and does not release it - causing a memory leak This happens on in Xulrunner 1.9.x It did not happen in 1.8.x Sample code to demonstrate this issue to follow... (I'm working on creating it) Reproducible: Always Steps to Reproduce: 1. get the nsiDOMDocument from the mozilla browser 2. Attach, say, a focus listener to the browser 3. Remove the focus listener 4. The listener is never released.
To confirm, you mean with JavaXPCOM (not XPCOM), right? And if so, wouldn't this likely be a bug in XULRunner or JavaXPCOM? The Browser does not use nsIDOMDocument anywhere that I can think of.
Mozilla support is removed in 4.8.