Add an API to manage local data (cookies, local storage, app cache, indexed DB and web DB)
Bug #1260014 reported by
Olivier Tilloy
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Oxide |
Triaged
|
Medium
|
Unassigned | ||
webbrowser-app (Ubuntu) |
Fix Released
|
Undecided
|
Olivier Tilloy |
Bug Description
A modern browser application should offer as an advanced feature a way to manage cookies (list them, selectively delete some, clear all). Oxide needs to expose such an API.
Related branches
lp://staging/~osomon/oxide/clearCache
On hold
for merging
into
lp://staging/~oxide-developers/oxide/oxide.trunk
- Chris Coulson: Pending requested
-
Diff: 425 lines (+224/-10)11 files modifiedqt/core/browser/oxide_qt_web_context.cc (+9/-1)
qt/core/browser/oxide_qt_web_context.h (+3/-1)
qt/core/glue/oxide_qt_web_context_adapter.cc (+5/-1)
qt/core/glue/oxide_qt_web_context_adapter.h (+3/-1)
qt/qmlplugin/oxide_qml_plugin.cc (+3/-1)
qt/quick/api/oxideqquickwebcontext.cc (+7/-1)
qt/quick/api/oxideqquickwebcontext_p.h (+4/-1)
qt/tests/qmltests/api/tst_WebContext_clearCache.py (+17/-0)
qt/tests/qmltests/api/tst_WebContext_clearCache.qml (+55/-0)
shared/browser/oxide_browser_context.cc (+97/-2)
shared/browser/oxide_browser_context.h (+21/-1)
lp://staging/~osomon/webbrowser-app/clearCache
- PS Jenkins bot: Approve (continuous-integration)
- Ubuntu Phablet Team: Pending requested
-
Diff: 238 lines (+163/-1)6 files modifiedsrc/app/webbrowser/CMakeLists.txt (+2/-1)
src/app/webbrowser/SettingsPage.qml (+9/-0)
src/app/webbrowser/cache-deleter.cpp (+81/-0)
src/app/webbrowser/cache-deleter.h (+50/-0)
src/app/webbrowser/webbrowser-app.cpp (+9/-0)
tests/autopilot/webbrowser_app/tests/test_settings.py (+12/-0)
Changed in oxide: | |
assignee: | nobody → Alexandre Abreu (abreu-alexandre) |
Changed in oxide: | |
importance: | Undecided → Medium |
status: | New → Triaged |
summary: |
- Add an API to manage cookies + Add an API to manage local data (cookies, local storage, app cache, + indexed DB and web DB) |
Changed in oxide: | |
assignee: | Alexandre Abreu (abreu-alexandre) → Olivier Tilloy (osomon) |
Changed in oxide: | |
status: | Triaged → In Progress |
milestone: | none → branch-1.6 |
Changed in webbrowser-app (Ubuntu): | |
assignee: | nobody → Olivier Tilloy (osomon) |
Changed in oxide: | |
milestone: | branch-1.7 → branch-1.8 |
Changed in oxide: | |
milestone: | branch-1.8 → branch-1.9 |
Changed in oxide: | |
milestone: | branch-1.9 → branch-1.11 |
Changed in oxide: | |
milestone: | branch-1.11 → branch-1.12 |
Changed in oxide: | |
milestone: | branch-1.12 → branch-1.13 |
Changed in oxide: | |
milestone: | branch-1.13 → branch-1.14 |
Changed in oxide: | |
milestone: | branch-1.14 → none |
Changed in oxide: | |
assignee: | Olivier Tilloy (osomon) → nobody |
To post a comment you must log in.
Here's a couple of important use-cases for being able to read browser cookies:
- Transfer cookies from the Browser app to the webapp container
- Transfer cookies from Online Accounts to the webapp container
We are currently experimenting with reading the cookies straight from the SQLite database, but we find that they aren't always on sync. At the very least, we'd need to have a way to trigger the flush of the cookies to the DB.