Closed
Bug 1100865
Opened 11 years ago
Closed 8 years ago
[app manager] API for delete apps data
Categories
(Firefox OS Graveyard :: General, defect)
Firefox OS Graveyard
General
Tracking
(tracking-b2g:backlog)
RESOLVED
WONTFIX
| tracking-b2g | backlog |
People
(Reporter: alchen, Assigned: edenchuang)
References
Details
(Whiteboard: [ft:Peripherals])
There is a function that user can delete the apps data in app manager.
We need to have an API to do this job.
Updated•11 years ago
|
feature-b2g: --- → 2.2+
Whiteboard: [ft:Peripherals]
| Assignee | ||
Comment 1•11 years ago
|
||
Currently we have Apps API clearBrowserData() for clear app data.
According to the discussion of bug 784378, the API will clear localstorage, app cache, cookies and IndexedDB of the app.
It seems what this bug need.
Comment 2•11 years ago
|
||
No, I think this is only clearing data from browser frames, not the app themselves.
| Assignee | ||
Comment 3•11 years ago
|
||
Fabrice thanks for explaining the difference.
From the bug 784378, I guess we had already implemented the similar functionality in uninstall.
When uninstall an application, we should also remove the app's data.
So, can we extract this part from uninstall to be a new API clearData?
Do you have any concern or advice? Thanks.
Flags: needinfo?(fabrice)
Comment 4•11 years ago
|
||
You're right, all the back-end pieces are there, we only lack the DOM facing API. That should be easy to implement!
Flags: needinfo?(fabrice)
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → echuang
Updated•11 years ago
|
blocking-b2g: backlog → ---
tracking-b2g:
--- → backlog
Comment 6•8 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•