Closed Bug 12115 Opened 26 years ago Closed 26 years ago

[mlk] -size of leak?- XUL elements leak after being involved in an event dispatch

Categories

(Core :: XUL, defect, P3)

defect

Tracking

()

VERIFIED DUPLICATE of bug 18066

People

(Reporter: waterson, Assigned: waterson)

References

Details

Attachments

(1 file)

To reproduce, install attached test file as "leak.xul". 1. Start viewer. 2. Open test file. 3. Set breakpoint in nsBookmarksService::Release() 4. Click on the titledbutton ONCE. 5. Click "Back" button. Note that the bookmarks service is _never_ released. Remove the "onclick" handler; restart viewer; you should see the bookmarks service be released (although not destroyed b/c of bug 12114. My belief is that the DOM click event is not being destroyed, or is not releasing its reference to the XUL element, which in turn holds a reference to the datasource (indirectly via the composite datasource). This has shades of bug 8836 (actually, it probably _is_ 8836, which was never properly fixed).
Blocks: 11413
Status: NEW → ASSIGNED
Target Milestone: M10
Okay, wait. I was wrong. It seems that clicking the titledbutton works just fine. To actually force the leak, you need to click OUTSIDE the area of the tree widget (e.g., in viewer, there is "grey space" beneath the tree control).
how big is the leak?
Summary: [mlk] XUL elements leak after being involved in an event dispatch → [mlk] -size of leak?- XUL elements leak after being involved in an event dispatch
Blocks: 14516
bulldozer to M12
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 18066 ***
Status: RESOLVED → VERIFIED
Marking VERIFIED DUPLICATE per waterson's comments.
BULK MOVE: Changing component from XUL to XP Toolkit/Widgets: XUL. XUL component will be deleted.
Component: XUL → XP Toolkit/Widgets: XUL
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: ckritzer → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: