Closed Bug 1687256 Opened 3 years ago Closed 3 years ago

Deal with short-lived files during FileManager::GetUsage

Categories

(Core :: Storage: IndexedDB, defect, P2)

defect

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: sg, Assigned: sg)

References

Details

Attachments

(1 file)

The GetFileSize query at https://searchfox.org/mozilla-central/rev/dac45cc7020dfddbcc937827810dd11550c07dc3/dom/indexedDB/ActorsParent.cpp#12765-12766 sometimes fails with NS_ERROR_FILE_TARGET_DOES_NOT_EXIST/NS_ERROR_FILE_NOT_FOUND because the file was deleted already. In this case, the entry should just be skipped.

Assignee: nobody → sgiesecke
Status: NEW → ASSIGNED
Severity: -- → S3
Priority: -- → P2
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0c5204e9a61a
Do not fail FileManager::GetUsage if some file was removed from the directory while iterating. r=dom-workers-and-storage-reviewers,janv
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: