Closed
Bug 664472
Opened 14 years ago
Closed 13 years ago
tabview tests may leak
Categories
(Firefox Graveyard :: Panorama, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: smaug, Assigned: smaug)
References
Details
Attachments
(1 file)
1.32 KB,
patch
|
Details | Diff | Splinter Review |
I'm not happy with this patch, but I'm not familiar with nsSessionStore.js
Feel free to fix the problem in nsSessionStore.js ;)
Attachment #539571 -
Flags: review?(tim.taubert)
Comment 1•14 years ago
|
||
This very much sounds like it needs to be fixed in nsSessionStore.js.
Blocks: bc-leaks
Assignee | ||
Comment 2•14 years ago
|
||
Dão, will bug 658738 fix this one too?
Comment 3•14 years ago
|
||
I hope it's the other way around: that fixing this bug kills some of the leaked windows logged in bug 658738.
Comment 4•14 years ago
|
||
Hm, I don't see how this patch would make the timer fire (or why it wouldn't fire in the first place) nor why it would keep things alive if it didn't fire.
Assignee | ||
Comment 5•14 years ago
|
||
The patch just makes sure the timer has time to fire before the testing page
goes away.
Pure hack, but I'm not at all familiar what all nsSessionStore.js tries to
do and where it keeps references to which elements or windows.
Comment 6•14 years ago
|
||
It doesn't keep references... The timer firing after the page going away really shouldn't be a problem.
Assignee | ||
Comment 7•14 years ago
|
||
Then I've misinterpret the code.
Somehow the timer in the patch in this bug makes the tests pass without leaking.
Assignee | ||
Comment 8•14 years ago
|
||
And btw, the only leaking test, when parentNode is strong ref, is
browser_tabview_firstrun_pref.js
Comment 9•14 years ago
|
||
We have _lots_ of windows opened and closed in tabview tests and it's not clear to me why only browser_tabview_firstrun_pref.js is leaking. I don't know why the setTimeout() fixes the leak but IMHO it doesn't look like the right solution.
Assignee | ||
Comment 10•14 years ago
|
||
Comment on attachment 539571 [details] [diff] [review]
patch
Ok, someone (maybe me) needs to debug the leak some more.
Attachment #539571 -
Flags: review?(tim.taubert)
Assignee | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Updated•9 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•