Closed
Bug 671517
Opened 13 years ago
Closed 13 years ago
Port relevant bits of Bug 588506 [nsSessionStartup is keeping restored session in memory]
Categories
(SeaMonkey :: Session Restore, defect)
SeaMonkey
Session Restore
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: misak.bugzilla, Assigned: misak.bugzilla)
References
Details
Attachments
(1 file)
1.79 KB,
patch
|
neil
:
review+
neil
:
approval-comm-aurora+
|
Details | Diff | Splinter Review |
From parent bug: Errrr, this isn't so awesome. If you crashed & can resume, or will be restoring (sessionstore.resume_session_once || startup.page == 3) then we keep your entire session in memory for the entirety of your session, even if you go into PB mode. This might actually be useful for bug 588482, but in general it's a bad thing to do. For those people who always restore and/or have multi-megabyte sessions (I'm looking at you Wayne), this is automatically devouring that memory. So we can do this a couple ways, which will depend on how I go about bug 588482. We'll either want to add a method that wipes, or autowipe after a certain notification ("sessionstore-windows-restored" would make sense right now, but that might have to change soon). I wouldn't block on this until we figure out what's going to happen elsewhere. But if we can do it, we might as well. I'm raising the blocking idea just because it might require API changes. We've been like this for many releases (since session store landed?) so I guess it's not super pressing...
Attachment #545869 -
Flags: review?(neil)
Comment 1•13 years ago
|
||
Comment on attachment 545869 [details] [diff] [review] patch > Services.obs.removeObserver(this, "sessionstore-windows-restored"); Please remove this line instead... >- // no need in repeating this, since session type won't change >- Services.obs.removeObserver(this, "sessionstore-windows-restored"); ...so that you can keep the comment too.
Attachment #545869 -
Flags: review?(neil) → review+
Assignee | ||
Comment 2•13 years ago
|
||
Pished with nit: http://hg.mozilla.org/comm-central/rev/8bb302ea0895
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 3•13 years ago
|
||
Comment on attachment 545869 [details] [diff] [review] patch We need to land this on comm-aurora too to fix regression, see https://bugzilla.mozilla.org/show_bug.cgi?id=527360#c42
Attachment #545869 -
Flags: approval-comm-aurora?
Updated•13 years ago
|
Attachment #545869 -
Flags: approval-comm-aurora? → approval-comm-aurora+
Assignee | ||
Comment 4•13 years ago
|
||
Pushed to comm-aurora http://hg.mozilla.org/releases/comm-aurora/rev/d163c3c13f84
You need to log in
before you can comment on or make changes to this bug.
Description
•