Closed Bug 1216022 Opened 4 years ago Closed 4 years ago
Clear all Bookmark and History records from Fx
Sync when users logout Fx Account in TV Browser .
46 bytes, text/x-github-pull-request
|Details | Review|
We have to clear all bookmark and history records from FxSync when users logout FxAccount in TV browser. When this request is triggered, we have to clear the data in DataStore and IndexedDB.
When a user logout her account in TV Browser, the following steps would be applied: * Send logout IAC request from TV Browser to SyncManager in System app. * Clear remote data: a. TV Browser: 'fxsync_browser' IndexedDB. b. Sync app: * kinto.js's collection data. * Matching table * Collection modified_time * bookmarks_store with FxSyncRecord Entry. * places_store with FxSyncId c. Settings for removing all records in TV/Phone devices. * TV: clear all data when logout * Phone: clear the remote entries only
Comment on attachment 8677919 [details] [review] [gaia] weilonge:seanlee/TVBrowser/master/Bug1216022 > mozilla-b2g:master Hey Fernando, Could you help to review my patch? Thank you!
Attachment #8677919 - Flags: review?(ferjmoreno)
Comment on attachment 8677919 [details] [review] [gaia] weilonge:seanlee/TVBrowser/master/Bug1216022 > mozilla-b2g:master Nice! Thank you, Sean.
Attachment #8677919 - Flags: review?(ferjmoreno) → review+
There is a typo in the commit message: s/use/user
landed on master: https://github.com/mozilla-b2g/gaia/commit/8ea2ef2afbab48254feb808fa74b37f893082fdf gaia-test: https://treeherder.mozilla.org/#/jobs?repo=gaia&revision=b3f8baa7b8588944978fc54693bfe51a7d9b889f
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.