Closed Bug 1401900 Opened 5 years ago Closed 5 years ago

Should call nsIQuotaManagerService::clearContentData when clearing all data

Categories

(Firefox :: Preferences, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: Fischer, Unassigned)

References

Details

(Whiteboard: [storage-v1])

After bug 1401850 implements nsIQuotaManagerService::clearContentData, we should call nsIQuotaManagerService::clearContentData to clear all Quota usage, which is a more efficient way.
Depends on: 1401850
Whiteboard: [storage-v1]
What is the status of this bug now that the bug you mentioned in comment 0 was marked as resolved-invalid?
Flags: needinfo?(fliu)
(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #1)
> What is the status of this bug now that the bug you mentioned in comment 0 was marked as resolved-invalid?
Invalid as well. 
From bug 1401850 comment 10, `clearContentData` brings the issue that exclusive lock would abort all other operations. The approach of `getUsage` then `clearStoragesForPrincipal` one by one, which is Storage's Site Data's approach as well, is preferred instead.
Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(fliu)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.