Open Bug 424451 Opened 12 years ago Updated 10 months ago

Forcefully kill inner windows when outer window is closed


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





(Reporter: bent.mozilla, Unassigned)


(Keywords: memory-leak)

Talked with jst today about forcing inner windows to disappear whenever the outer window is closed. That way external refs to the outer window (from JS, mostly) wouldn't keep very many things alive.

As I understand it closed windows in JS are mostly useless husks anyway, so this would just let us do better internal memory management without really altering external behavior.

We'd then be able to remove the ShouldBeFreed CC hints in outer windows to avoid lots of false-positive warnings like in bug 423723.
Keywords: mlk
marking wanted1.9.1? to get this in the triage queue.  If this needs to be blocking1.9.1?, please mark it as so.
Flags: wanted1.9.1?
Priority: -- → P1
this doesn't appear to be mac-specific?
(In reply to comment #2)

-> All.
OS: Mac OS X → All
Hardware: PC → All
Marking wanted but just as a P2, feel free to up the priority if we suspect this is a cause for many leaks.
Assignee: nobody → bent.mozilla
Flags: wanted1.9.1? → wanted1.9.1+
Priority: P1 → P2
Ben: are you still working on this? Is this still a priority? Should we move this to P3?
Flags: needinfo?(bent.mozilla)
I am not working on this.
Assignee: bent.mozilla → nobody
Flags: needinfo?(bent.mozilla)
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.