Closed
Bug 488786
Opened 16 years ago
Closed 16 years ago
nsDocument::mPendingTitleChangeEvent keeps the document alive longer than needed
Categories
(Core :: DOM: Core & HTML, defect, P3)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla1.9.1
People
(Reporter: dbaron, Assigned: dbaron)
References
Details
(Keywords: fixed1.9.1)
Attachments
(1 file)
4.24 KB,
patch
|
jst
:
review+
benjamin
:
review+
jst
:
superreview+
beltzner
:
approval1.9.1+
|
Details | Diff | Splinter Review |
Because nsDocument::mPendingTitleChangeEvent contains an event that owns the document, it can keep documents alive longer than needed. This confuses real-time leak detection tools such as DEBUG_CC and leak-monitor.
In this case, there's no need for the event to own the document, since the document can revoke the event in its own destructor.
Attachment #373245 -
Flags: superreview?(jst)
Attachment #373245 -
Flags: review?(jst)
Assignee | ||
Updated•16 years ago
|
Priority: -- → P3
Target Milestone: --- → mozilla1.9.2a1
Assignee | ||
Updated•16 years ago
|
Attachment #373245 -
Flags: review?(benjamin)
Updated•16 years ago
|
Attachment #373245 -
Flags: superreview?(jst)
Attachment #373245 -
Flags: superreview+
Attachment #373245 -
Flags: review?(jst)
Attachment #373245 -
Flags: review+
Updated•16 years ago
|
Attachment #373245 -
Flags: review?(benjamin) → review+
Assignee | ||
Comment 2•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 3•16 years ago
|
||
Comment on attachment 373245 [details] [diff] [review]
patch
This is a relatively simple fix that makes leak-monitor a good bit less noisy.
Attachment #373245 -
Flags: approval1.9.1?
Updated•16 years ago
|
Attachment #373245 -
Flags: approval1.9.1? → approval1.9.1+
Comment 4•16 years ago
|
||
Comment on attachment 373245 [details] [diff] [review]
patch
a191=beltzner
Assignee | ||
Comment 5•16 years ago
|
||
Keywords: fixed1.9.1
Target Milestone: mozilla1.9.2a1 → mozilla1.9.1
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•