Closed
Bug 1814577
Opened 2 years ago
Closed 1 year ago
Prevent potential race from removeDirectory background task (remove only the child directories)
Categories
(Core :: Storage: Quota Manager, task)
Core
Storage: Quota Manager
Tracking
()
RESOLVED
FIXED
119 Branch
Tracking | Status | |
---|---|---|
firefox119 | --- | fixed |
People
(Reporter: saschanaz, Assigned: saschanaz)
References
Details
Attachments
(1 file)
Consider this situation:
- The background task is triggered to recursively remove
to-be-deleted
directory at shutdown - A new Firefox instance starts with the same profile
- It shuts down and moves purged directories to the
to-be-deleted
that is already being removed
It should keep to-be-deleted
directory to prevent this situation. Existing otherFoldersSuffix
option of the background task should be useful here.
Assignee | ||
Comment 1•2 years ago
|
||
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/63aabaa46bb1
Remove only the subitems of to-be-removed r=janv,dom-storage-reviewers
Comment 3•1 year ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox119:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•