content |
|
|
jar.mn |
|
381 |
moz.build |
|
598 |
nsISessionStartup.idl |
nsISessionStore keeps track of the current browsing state - i.e.
tab history, cookies, scroll state, form data, POSTDATA and window features
- and allows to restore everything into one window.
|
1402 |
nsISessionStore.idl |
nsISessionStore keeps track of the current browsing state - i.e.
tab history, cookies, scroll state, form data, POSTDATA and window features
- and allows to restore everything into one browser window.
The nsISessionStore API operates mostly on browser windows and the tabbrowser
tabs contained in them:
* "Browser windows" are those DOM windows having loaded
chrome://navigator/content/navigator.xul . From overlays you can just pass
the global |window| object to the API, though (or |top| from a sidebar).
From elsewhere you can get browser windows through the nsIWindowMediator
by looking for "navigator:browser" windows.
* "Tabbrowser tabs" are all the child nodes of a browser window's
|getBrowser().tabContainer| such as e.g. |getBrowser().selectedTab|.
|
7580 |
nsSessionStartup.js |
Session Storage and Restoration
Overview
This service reads user's session file at startup, and makes a determination
as to whether the session should be restored. It will restore the session
under the circumstances described below.
Crash Detection
The session file stores a session.state property, that
indicates whether the browser is currently running. When the browser shuts
down, the field is changed to "stopped". At startup, this field is read, and
if it's value is "running", then it's assumed that the browser had previously
crashed, or at the very least that something bad happened, and that we should
restore the session.
Forced Restarts
In the event that a restart is required due to application update or extension
installation, set the browser.sessionstore.resume_session_once pref to true,
and the session will be restored the next time the browser starts.
Always Resume
This service will always resume the session if the integer pref
browser.startup.page is set to 3.
|
7181 |
nsSessionStartup.manifest |
|
630 |
nsSessionStore.js |
Session Storage and Restoration
Overview
This service keeps track of a user's session, storing the various bits
required to return the browser to its current state. The relevant data is
stored in memory, and is periodically saved to disk in a file in the
profile directory. The service is started at first window load, in
delayedStartup, and will restore the session from the data received from
the nsSessionStartup service.
|
153201 |
XPathGenerator.jsm |
Generates an approximate XPath query to an (X)HTML node
|
3748 |