When quitting the app or closing the last window, all windows and tabs are stored in a "Session" file. This is reloaded when the browser starts, allowing to restore all windows and tabs.
Limitations: the page content and navigation history are not saved. The file is written only at exit so this can't be used for crash recovery (but you can make a backup of your default session).
Fixes #6680.
f86df64 Web+: implement a simple session management system.
src/apps/webpositive/BrowserApp.cpp | 80 ++++++++++++++++++++++++++------
src/apps/webpositive/BrowserApp.h | 1 +
src/apps/webpositive/BrowserWindow.cpp | 23 ++++++++-
src/apps/webpositive/BrowserWindow.h | 1 +
4 files changed, 89 insertions(+), 16 deletions(-)
Upstream: cgit.haiku-os.org