mozilla / tofino

Project Tofino is a browser interaction experiment.
https://mozilla.github.io/tofino
Apache License 2.0
647 stars 68 forks source link

Restore session when browser starts or is reloaded #1102

Closed victorporof closed 7 years ago

victorporof commented 8 years ago

Should restore all tabs and windows. Would help a lot with development as well, since reloading the app would clear the app state.

Will work on this.

victorporof commented 8 years ago

Depends on https://github.com/electron/electron/issues/7186 or tracking history ourselves as described in https://github.com/mozilla/tofino/issues/996#issuecomment-246672736

victorporof commented 8 years ago

Unasigning for now.

victorporof commented 8 years ago

Found out about https://github.com/mozilla/tofino/pull/1120#issuecomment-246906935

victorporof commented 8 years ago

Still needs a way to inject history, will wait until that's done. Tracking in https://github.com/electron/electron/issues/7186

victorporof commented 8 years ago

@Mossop where should the session be stored on disk and when? assuming the app isn't able to exit cleanly, should the app state be stored to disk at regular intervals?