Open
Bug 552136
Opened 15 years ago
Updated 3 years ago
Create a reliable tear-down hook for nsGlobalWindow
Categories
(Core :: DOM: Core & HTML, enhancement)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: mozilla+ben, Unassigned)
References
Details
The logic for cleaning up nsGlobalWindows is spread over several different methods, including but not limited to SetDocShell, ~nsGlobalWindow, and CleanUp. A consolidation of these methods was attempted in bug 523885, but the consolidation led to mochitest failures. Since the consolidation was not necessary to fix bug 523885, I decided to postpone it. This is the followup bug.
Reporter | ||
Updated•15 years ago
|
Assignee: nobody → bnewman
Reporter | ||
Comment 1•15 years ago
|
||
Slightly re-purposing this bug. More important than having a consolidated CleanUp method is having a single bottleneck that is always called when the window is torn down, but called only once per window.
Summary: Consolidate CleanUp-related methods in nsGlobalWindow.cpp → Create a reliable tear-down hook for nsGlobalWindow
![]() |
||
Comment 2•15 years ago
|
||
And ideally is called before the dtor (so it can tell people to drop refs).
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Comment 3•3 years ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Assignee: mozilla+ben → nobody
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•