Closed Bug 480191 Opened 11 years ago Closed 9 years ago

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

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows XP
defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: martijn.martijn, Unassigned)

References

Details

(Keywords: memory-leak, testcase)

Attachments

(1 file)

Attached file 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
Closed: 9 years ago
Depends on: 664430
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.