184
edits
| Line 131: | Line 131: | ||
= The structure of sessionstore.js = | = The structure of sessionstore.js = | ||
* <code>windows</code> | |||
** TBD | |||
* <code>selectedWindow</code> | |||
** TBD | |||
* <code>_closedWindows</code> | |||
** TBD | |||
* <code>session</code> metadata on the session itself | |||
** <code>lastUpdate</code> date of the last update (milliseconds since epoch) | |||
** <code>startTime</code> date of the session start (ms since epoch) | |||
** <code>recentCrashes</code> number of crashes since the latest good start | |||
* <code>global</code> | |||
** TBD | |||
* <code>scratchpads</code> (optional) | |||
** TBD | |||
* <code>lastSessionState</code> if we deferred referring a session, a representation of this session (optional, same structure as sessionstore.js) | |||
* <code>deferredInitialState</code> (optional) | |||
** TBD | |||
= Redesigning sessionstore.js = | = Redesigning sessionstore.js = | ||
[https://bugzilla.mozilla.org/show_bug.cgi?id=669034 Bug 669034 - (sessionRestoreJank) [meta<nowiki>]</nowiki> Re-architect session restore to avoid periodic freezes]<br /> | [https://bugzilla.mozilla.org/show_bug.cgi?id=669034 Bug 669034 - (sessionRestoreJank) [meta<nowiki>]</nowiki> Re-architect session restore to avoid periodic freezes]<br /> | ||
edits