[Merge] lp:~mardy/webbrowser-app/cookie-manager into lp:webbrowser-app
Alberto Mardegan
alberto.mardegan at canonical.com
Mon Aug 25 08:21:28 UTC 2014
Alberto Mardegan has proposed merging lp:~mardy/webbrowser-app/cookie-manager into lp:webbrowser-app.
Commit message:
Handle cookie manager & cookie copies w/ Oxide
Requested reviews:
Ubuntu Phablet Team (phablet-team)
For more details, see:
https://code.launchpad.net/~mardy/webbrowser-app/cookie-manager/+merge/232039
Handle cookie manager & cookie copies w/ Oxide.
Uses the new (not released) Oxide cookie manager api to store cookies retrieved from OA. In the current state, the OA dbus side is not ready yet, I have added a "local" cookie store that can be used for testing that acts as a peers (similar in shape as the OA one) for the cookie copy transaction.
One can use this local cookie store, with an extra option that specifies the path of an sqlite cookie file that can be used as the source of the copy.
For example:
APP_ID=my-app ./webapp-container --accountProvider='facebook' --store-session-cookies --local-cookie-db-path=`pwd`/cookies.sqlite --desktop_file_hint=/usr/share/applications/webbrowser-app.desktop https://facebook.com
Provided that you have a proper cookies.sqlite locally. For my tests, to get as close as final testing as possible, I used the cookies db hosted by OA, that can be found in:
~/.cache/online-accounts-ui/id-<xx>/cookies.sqlite
--
https://code.launchpad.net/~mardy/webbrowser-app/cookie-manager/+merge/232039
Your team Ubuntu Phablet Team is requested to review the proposed merge of lp:~mardy/webbrowser-app/cookie-manager into lp:webbrowser-app.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 54093 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-reviews/attachments/20140825/43c93996/attachment-0001.diff>
More information about the Ubuntu-reviews
mailing list