Closed
Bug 1058893
Opened 11 years ago
Closed 11 years ago
nsFocusManager needs to cycle collect more fields
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla35
People
(Reporter: mccr8, Assigned: bjacob)
References
Details
Attachments
(1 file)
In bug 1054089, there's a div element with a missing edge in it, and some kind of focusy-stuff seems to be getting run on it, so I looked at nsFocusManager. While this class is cycle collected, the fields mDelayedBlurFocusEvents and mMouseButtonEventHandlingDocument are not cycle collected, but they can hold cycle collected things, so I think they should be.
| Reporter | ||
Updated•11 years ago
|
Summary: nsFocusManager needs to cycle collector more fields → nsFocusManager needs to cycle collect more fields
| Reporter | ||
Comment 1•11 years ago
|
||
Though I suppose since there is exactly one focus manager, it is legitimately alive in bug 1054089, so traversing more stuff won't fix a leak, even if it is the issue. But at least we'd see why it was actually alive.
Comment 2•11 years ago
|
||
Yeah, focusmanager is a service so CCing it isn't that important, except for getting better logs.
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → bjacob
| Assignee | ||
Comment 3•11 years ago
|
||
Attachment #8483031 -
Flags: review?(continuation)
| Reporter | ||
Comment 4•11 years ago
|
||
Comment on attachment 8483031 [details] [diff] [review]
CC remaining nsFocusManager fields (teach the CC to traverse a nsDelayedBlurOrFocusEvent)
Review of attachment 8483031 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks.
Attachment #8483031 -
Flags: review?(continuation) → review+
| Assignee | ||
Comment 5•11 years ago
|
||
Comment 6•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
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
•