touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #52114
[Bug 1353143] Re: Save/restore a webview’s state
** Changed in: webbrowser-app (Ubuntu)
Assignee: (unassigned) => Olivier Tilloy (osomon)
** Changed in: webbrowser-app (Ubuntu)
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1353143
Title:
Save/restore a webview’s state
Status in Oxide Webview:
Fix Released
Status in Web Browser App:
In Progress
Status in webbrowser-app package in Ubuntu:
In Progress
Bug description:
We need a mechanism to save and restore the current session of the browser/webapp container.
For the browser, each open tab should be saved, whereas for the webapp container there’s only one webview to handle.
A naive solution is to persist the URL of each open tab, and upon
restore instantiate a webview and set its url property. However this
won’t restore the corresponding navigation history, nor the current
scroll offset or form data.
To implement this properly, we need to add an API in oxide that will
allow reading the current state of a webview as an opaque blob, and
writing the initial state at construction time. The API would look
like this:
property string initialState (writable during construction only)
function getCurrentState()
(see the full discussion at
https://lists.launchpad.net/oxide/msg00037.html).
To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1353143/+subscriptions