Closed Bug 305536 Opened 19 years ago Closed 19 years ago

Leak installing extensions

Categories

(Toolkit :: Add-ons Manager, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bzbarsky, Assigned: benjamin)

References

()

Details

(Keywords: fixed1.8)

Installing an extension leaks the XPInstall prompt window.  I suspect the root
of the leak is this GC path:

083ffd00 object 0x89f0380 XULDocument via
nsXPCWrappedJS::mJSObj[nsIDOMEventListener,0x8a3f380,0x8416220](Function @
0x08416220).__parent__(Call @ 0x08416210).okButton(XULElement @
0x084157e0).nsDOMClassInfo::sPreservedWrapperTable(XULElement @
0x08415760).__parent__(XULElement @ 0x084155f0).__parent__(XULElement @
0x083ffd18).nsDOMClassInfo::sPreservedWrapperTable(XULElement @
0x084162d8).__parent__(XULDocument @ 0x083ffd00).

which ends up leaking the XUL document because of the event listener we add via
addEventListener.  Fixing bug 241518 would fix this, but that's probably not
happening for 1.8.
Depends on: 305694
Fixed by bug 305694
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.