Closed Bug 837274 Opened 12 years ago Closed 11 years ago

Clear Private Data: long delay before "Private data cleared" notification

Categories

(Firefox for Android Graveyard :: General, defect)

x86
Android
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 913806

People

(Reporter: gbrown, Assigned: mayhemer)

References

Details

On my Galaxy S, Clear Private Data usually takes about 20 seconds to show the "Private data cleared" notification. I noticed this while reviewing a new Robocop test (bug 745041), but it can be reproduced manually also. STR: Open "Settings" Select "Clear private data" (Keep all defaults: all items selected) Select "Clear data" button Wait for "Private data cleared" The 20 s delay is present even with a clean profile (fresh uninstall/install). I do not see this delay on other devices. On the Galaxy Tab, the delay is less than 2 s.
The Galaxy S has a horribly slow file system. They added journaling to FAT http://www.google.com/patents/US7970804 http://seanmonstar.com/post/3044912970/galaxy-s-file-system
I'm seeing long delays on displaying the "Private data cleared" notification on HTC Desire (Android 2.2) too. Also I saw the "ClearPrivateData" test failing often on try server because the "Private data cleared" notification was not triggered in time
This is terrible bad. :( I saw this on a galaxy tablet 10"
Assignee: nobody → doug.turner
(In reply to Doug Turner (:dougt) from comment #5) > http://mxr.mozilla.org/mozilla-central/source/mobile/android/modules/ > Sanitizer.jsm#62 > > > Honza, this is going to be fast w/ the rewrite, right? Yes, completely async and non-blocking.
damn, i like the sound of that.
Depends on: 648232
sounds like this will just work after we land Gum.
Assignee: doug.turner → jduell.mcbugs
So the issue with the current cache is that we evict all the entries instead of doing nsDeleteDir, according to :michal because we can't do nsDeleteDir when we have any cache entries open: https://bugzilla.mozilla.org/show_bug.cgi?id=648232#c33 We should make sure that this isn't an issue in the new cache API. Assigning to Honza to make sure that happens, and marking this as depending on cache rewrite (bug 877301). So this won't get fixed until the new cache lands, but it shouldn't need any work after that (beyond verifying that things are faster--don't skip that step! :)
Assignee: jduell.mcbugs → nobody
Depends on: 877301
Assignee: nobody → honzab.moz
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Keywords: verifyme
I've tested on several devices including a Galaxy S with Android 2.2 and the issue seems to be fixed after landing the changes from bug 913806.
Status: RESOLVED → VERIFIED
Keywords: verifyme
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.