Comment 16 for bug 236901

Revision history for this message
In , Dietrich-mozilla (dietrich-mozilla) wrote :

(In reply to comment #5)
> (In reply to comment #4)
> Let's consider the use case for startup.page=3 + CPD-at-shutdown though: at
> first view, this doesn't make sense at all - you ask Firefox to purge _all_
> History and at the same time it should retain the latest bits of it. Such a
> user must not only be paranoid but schizophrenic as well. ;-)

Dveditz's idea seems like the right direction. I talked to Beltzner and thunder about this, who noted that if the user chose both prefs, we should also clear the history for each tab, only restoring the most-recent entry.

> There's mainly one legitimate use of that setting constellation I could see
> here: if you're generally "privacy concerned", but want to keep the option of
> resuming selected sessions. So you set Firefox to ask you at shutdown and there
> you either discard the _whole_ session, or you don't discard any of it.

The problem with doing that is that the CPD dialog does not give any indication that session data will be cleared. Also, the option above doesn't require such an extreme decision.

> One other exception we might want to make is to not clear the session when the
> browser is only restarting. However in that case, it would IMO make more sense
> to not do any clearing at all. If necessary, this exception could quite easily
> be implemented inside SessionStore itself though (by not purging
> sessionstore.js when resume_session_once is true).
>

Yep, shouldn't clear at all for restarts.