← Back to team overview

touch-packages team mailing list archive

[Bug 1353143] Re: Save/restore a webview’s state

 

This bug was fixed in the package webbrowser-app -
0.23+15.04.20150203-0ubuntu1

---------------
webbrowser-app (0.23+15.04.20150203-0ubuntu1) vivid; urgency=medium

  [ Florian Boucault ]
  * Make splashscreen white instead of the default black. (LP: #1378379)

  [ Niklas Wenzel ]
  * Add the ability to open a link in a new background tab (LP:
    #1339437)

  [ Olivier Tilloy ]
  * Use the new restoreState API in oxide 1.4 to properly save and
    restore navigation state across sessions. (LP: #1353143)
  * Add a UA override for youtube.com on desktop to fix video playback.
    (LP: #1412880)
 -- Ubuntu daily release <ps-jenkins@xxxxxxxxxxxxxxxxxxx>   Tue, 03 Feb 2015 11:06:38 +0000

** Changed in: webbrowser-app (Ubuntu)
       Status: In Progress => Fix Released

-- 
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:
  Fix Released

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