Closed Bug 870146 Opened 11 years ago Closed 11 years ago

webapp profiles aren't being deleted

Categories

(Firefox for Android Graveyard :: Web Apps (PWAs), defect, P2)

ARM
Android
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wesj, Unassigned)

Details

(Whiteboard: [A4A])

Attachments

(1 file)

I noticed my nightly uses a lot of space recently. I'm fairly sure its due to a whole bunch of un-used webapp profiles lying around. We have code to delete them:

http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/GeckoAppShell.java#711

is it not running for some reason?
That's potentially bad. We're using up space unintentionally.

Obviously this will become a bigger problem with packaged apps, given that a lot of them can be large in size (> 1 MB).

I'll start with P2 here given that there's some analysis needed here before concluding it's a P1 by figuring out the root cause behind this.
OS: Linux → Android
Priority: -- → P2
Hardware: x86 → ARM
Whiteboard: [A4A]
Attached patch PatchSplinter Review
So we we're cleaning up, but not deleting these. This is based on the patch for bug 895709, which fixed our delete code to work on non-empty directories.
Attachment #779461 - Flags: review?(mark.finkle)
Attachment #779461 - Flags: review?(mark.finkle) → review+
I landed a slightly different version of this in bug 896092
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: