Session Restore: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 31: Line 31:
* browser.sessionstore.enabled (bool) - Activate the service. Default is true
* browser.sessionstore.enabled (bool) - Activate the service. Default is true
* browser.sessionstore.resume_from_crash (bool) - Resume sessions post-crash. Default is true.
* browser.sessionstore.resume_from_crash (bool) - Resume sessions post-crash. Default is true.
* browser.sessionstore.resume_session (bool) - Resume sessions always. Default is false.
* browser.sessionstore.resume_session_once (bool) - Resume session at the next application start, but not again. Default is false. This is used for restarting the browser after application updates and extension installation.
* browser.sessionstore.resume_session_once (bool) - Resume session at the next application start, but not again. Default is false.
* browser.startup.page = 3 - Resume sessions always. Default is 1 (open to the homepage at browser.startup.homepage)


= Technical Design =
= Technical Design =
Line 54: Line 54:
== API ==
== API ==


The API should allow session information to be easily accessed by extensions.  An extension could store session info on a remote server, and allow users to restore the same session from multiple computers. This is currently a feature of the SessionSaver extension that doesn’t really fit into the core browser.
The API should allow session information to be easily accessed by extensions.  An extension could store session info on a remote server, and allow users to restore the same session from multiple computers. This is currently a feature of the SessionSaver extension that doesn�t really fit into the core browser.


The API details and discussion are at [[SessionRestoreAPI]].
The API details and discussion are at [[SessionRestoreAPI]].
Line 88: Line 88:
* <s>Do we ever want to store cached copies of the pages (i.e. for offline access) or do we just store the urls and load them all? Loading from cache would be snappier. If any caching is done, should obey whatever caching directives.</s> - Pages are currently pulled from the browser cache, if available.
* <s>Do we ever want to store cached copies of the pages (i.e. for offline access) or do we just store the urls and load them all? Loading from cache would be snappier. If any caching is done, should obey whatever caching directives.</s> - Pages are currently pulled from the browser cache, if available.


* <s>Make sure that if the state of the current session crashes the browser, it doesn’t reload at startup and crash over and over again.  Look into how SessionSaver and Total Recall detect this.</s> - If the previous session crashed, the user is prompted with a choice as to whether to reload it.
* <s>Make sure that if the state of the current session crashes the browser, it doesn�t reload at startup and crash over and over again.  Look into how SessionSaver and Total Recall detect this.</s> - If the previous session crashed, the user is prompted with a choice as to whether to reload it.


* If there are multiple windows open, how do we decide what was the last session?  The last window closed, or the last group of windows?
* If there are multiple windows open, how do we decide what was the last session?  The last window closed, or the last group of windows?
Line 124: Line 124:
Some features that should be either P2, FF3 or left to extensions:
Some features that should be either P2, FF3 or left to extensions:


* Allow the user to “save�? a particular session at any time, and load saved sessions either by default at startup or from a menu
* Allow the user to �save�? a particular session at any time, and load saved sessions either by default at startup or from a menu
* Allow the user to choose which pages to restore, post-crash
* Allow the user to choose which pages to restore, post-crash
Confirmed users, Bureaucrats and Sysops emeriti
2,088

edits

Navigation menu