Open
Bug 934288
Opened 11 years ago
Updated 2 years ago
Add checks to make sure the hidden window doesn't contain anything unexpected when browser is shutdown
Categories
(Toolkit :: General, defect)
Tracking
()
NEW
People
(Reporter: smaug, Unassigned)
Details
(Whiteboard: [MemShrink:P2])
We should have some checks to ensure that whoever has used inner window also removes the stuff from there. Inner window's document during shutdown should look like it looks initially and window scope shouldn't have anything special either.
Updated•11 years ago
|
Whiteboard: [MemShrink]
Surely inner means hidden here ...?
Reporter | ||
Comment 2•11 years ago
|
||
Yes, silly me.
Summary: Add checks to make sure inner window doesn't contain anything unexpected when browser is shutdown → Add checks to make sure the hidden window doesn't contain anything unexpected when browser is shutdown
Comment 3•11 years ago
|
||
Smaug, how difficult is this? It doesn't sound too hard. AIUI, this would overlap somewhat with the checking in bug 932898, but not entirely.
Whiteboard: [MemShrink] → [MemShrink:P2]
Comment 4•11 years ago
|
||
(In reply to Nicholas Nethercote [:njn] from comment #3) > AIUI, this would overlap somewhat with the checking in bug 932898, but not > entirely. Yeah, any DOMWindows and DocShells left in the hiddenWindow would be detected by it.
Reporter | ||
Comment 5•11 years ago
|
||
Some rather dummy check should be easy. Effectively store document.documentElement.innerHTML somewhere and compare it to document.documentElement.innerHTML when we're about to close and do something similar to properties in the window scope.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•