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)
Core
XUL
Tracking
()
M12
People
(Reporter: waterson, Assigned: waterson)
References
Details
Attachments
(1 file)
776 bytes,
text/xul
|
Details |
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).
Assignee | ||
Updated•26 years ago
|
Assignee | ||
Comment 1•26 years ago
|
||
Assignee | ||
Comment 2•26 years ago
|
||
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).
Comment 3•26 years ago
|
||
how big is the leak?
Updated•26 years ago
|
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
Assignee | ||
Comment 4•26 years ago
|
||
bulldozer to M12
Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 6•26 years ago
|
||
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.
Description
•