restore webcontainer URL using StateSaver
Bug #1379428 reported by
Jean-Francois Moy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
webbrowser-app |
Fix Released
|
High
|
Alexandre Abreu |
Bug Description
The webapp container does not restore the URL of the currently visited page in case it is killed by OOM killer.
A fix should be provided to restore the URL in case it happens, using StateSaver to automatically save and restore the property at runtime.
Related branches
lp:~abreu-alexandre/webbrowser-app/webapp-homepage
Superseded
for merging
into
lp:webbrowser-app
- PS Jenkins bot: Needs Fixing (continuous-integration)
- Olivier Tilloy: Approve
- David Barth (community): Approve
-
Diff: 872 lines (+288/-103)16 files modifiedpo/webbrowser-app.pot (+14/-14)
src/app/webcontainer/Chrome.qml (+1/-1)
src/app/webcontainer/WebApp.qml (+4/-12)
src/app/webcontainer/WebViewImplOxide.qml (+34/-20)
src/app/webcontainer/WebViewImplWebkit.qml (+4/-1)
src/app/webcontainer/WebappContainerWebview.qml (+5/-2)
src/app/webcontainer/url-pattern-utils.cpp (+28/-7)
src/app/webcontainer/url-pattern-utils.h (+2/-1)
src/app/webcontainer/webapp-container.cpp (+24/-13)
src/app/webcontainer/webapp-container.h (+1/-1)
src/app/webcontainer/webapp-container.qml (+24/-9)
tests/autopilot/webapp_container/tests/__init__.py (+43/-5)
tests/autopilot/webapp_container/tests/fake_servers.py (+28/-8)
tests/autopilot/webapp_container/tests/test_app_launch.py (+1/-1)
tests/autopilot/webapp_container/tests/test_redirection_pattern.py (+59/-0)
tests/unittests/container-url-patterns/tst_ContainerUrlPatternsTests.cpp (+16/-8)
Changed in webbrowser-app: | |
assignee: | nobody → Alexandre Abreu (abreu-alexandre) |
status: | New → In Progress |
importance: | Undecided → High |
Changed in webbrowser-app: | |
status: | In Progress → Fix Committed |
Changed in webbrowser-app: | |
status: | Fix Committed → In Progress |
Changed in webbrowser-app: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
For reference, the bug is fixed for webapps which do not use the url-dispatcher bindings, like ebay, amazon for example. /bugs.launchpad .net/webbrowser -app/+bug/ 1378437. It affects Facebook in particular.
However for advanced webapps, there is still an issue tracked as https:/