Open Bug 1814577 Opened 2 years ago Updated 2 years ago

Prevent potential race from removeDirectory background task (remove only the child directories)

Categories

(Core :: Storage: Quota Manager, task)

task

Tracking

()

People

(Reporter: saschanaz, Assigned: saschanaz)

References

Details

Attachments

(1 file)

Consider this situation:

  1. The background task is triggered to recursively remove to-be-deleted directory at shutdown
  2. A new Firefox instance starts with the same profile
  3. 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.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: