Closed
Bug 867290
Opened 12 years ago
Closed 5 years ago
Focusing the search bar leaks an nsDocShell
Categories
(Firefox :: Search, defect)
Firefox
Search
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jruderman, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: memory-leak, Whiteboard: [MemShrink:P2])
1. Ctrl+K 2. Ctrl+W or 1. Click the search bar 2. Click the corner 'x' to close the window Result: Leak nsDocShell Performing a search between the steps seems to make the leak go away. (Reported on Windows, but also reproduced on Mac.)
Assignee: nobody → continuation
Whiteboard: [MemShrink] → [MemShrink:P2]
Comment 1•12 years ago
|
||
Wild guess: autocomplete.xml's detachController isn't being called in this case (no blur event), so the autocomplete controller holds on to the search bar's docshell via its reference to the search input.
Reporter | ||
Comment 2•12 years ago
|
||
Blurring between the steps does not make the leak go away.
Comment 3•11 years ago
|
||
The docshell that is leaking has id=2. I haven't been able to figure out anything else useful yet...
Updated•11 years ago
|
Assignee: continuation → nobody
Hi. After some search in nsDocShell the method DoFindItemWithName() seems to be responsible for search field; concluding from its name. Am I on the right way?
Comment hidden (off-topic) |
Comment 6•10 years ago
|
||
This bug is about the search field, not the find toolbar, so comment 5 is not relevant.
Comment 7•5 years ago
|
||
The current mochitests aren't showing leaks, and I've just tried this on Mac and can't reproduce. So I think this is WFM now.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•