@mozilla.org/browser/sessionstartup;1. To use this service, use:
var sessionStartup = Components.classes["@mozilla.org/browser/sessionstartup;1"] .getService(Components.interfaces.nsISessionStartup);
| || ||The type of session being restored; this will be one of the Session type constants. Read only.|
| || || |
Note: Prior to Gecko 8.0 (Firefox 8.0 / Thunderbird 8.0 / SeaMonkey 2.5), this was a string. It was changed in order to improve performance, which was suffering due to the need to parse and stringify the data.
| || ||There's no data available from the previous session.|
| || ||The last session crashed. It will either be restored or |
| || ||The previous session should be restored at startup.|
| || ||The previous session is viable but shouldn't be restored without explicit action (with the exception of app tabs, which are always restored in this case).|
Determines whether or not there is a session to restore.
true if the session should be restored, otherwise