Memory leak of content nodes when right-clicking a button element, then closing the browser

RESOLVED FIXED

Status

()

Core
DOM
RESOLVED FIXED
8 years ago
6 years ago

People

(Reporter: Martijn Wargers (dead), Unassigned)

Tracking

({mlk, testcase})

Trunk
x86
Windows XP
mlk, testcase
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

8 years ago
Created attachment 364175 [details]
testcase

I get a memory leak when right clicking on the button, and then closing the browser.
See result of the leak log:

Results of processing log leak1.log :
Leaked content nodes associated with node info manager at address 2c78ca0.
 ... with document URI "file:///C:/Documents%20and%20Settings/mw/Bureaublad/rightclickbutton.htm".

Summary:
Leaked 0 out of 0 DOM Windows
Leaked 0 out of 31 documents
Leaked 0 out of 5 docshells
Leaked content nodes in 1 out of 39 documents
The nsXULPopupManager holds a node in mRangeParent (and a document in mKeyListener?), but it's held alive by nsLayoutStatics. nsLayoutStatics stays alive as long as there are nodes or documents alive. Something should break the cycle.
Blocks: 279703
This should have been fixed by bug 664430.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Depends on: 664430
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.