Closed Bug 873587 Opened 12 years ago Closed 7 years ago

Refactor the way we clear homescreen bookmarks private data

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(tracking-b2g:backlog)

RESOLVED WONTFIX
tracking-b2g backlog

People

(Reporter: fabrice, Unassigned)

Details

Currently, clearing private data for the ev.me apps and the homescreen bookmarks is done this way: - the settings application changes the clear.remote-windows.data settings - the system application watches this setting and then calls clearBrowserData() on itself. We can get rid of the settings hack by doing it this way: - at build time, create a setting with the manifest URL of the system app. - the settings application can then use this setting to get a handle on the system application object (that works because the settings app has the webapps-manage permission) and call clearBrowserData() on this object.
fabrice, do we still need this?
Flags: needinfo?(fabrice)
It seems like we could clean up the clear.remote-windows.data leftovers (https://mxr.mozilla.org/gaia/search?string=clear.remote-windows.data) but not much more.
Flags: needinfo?(fabrice)
Thanks, its still worth to remove redundant pref for quality
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.