Closed Bug 1726809 Opened 3 years ago Closed 2 years ago

Remove the void QuotaManager::GetOrCreate variant

Categories

(Core :: Storage: Quota Manager, task)

task

Tracking

()

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: jstutte, Assigned: hxu)

References

Details

Attachments

(1 file, 3 obsolete files)

The void QuotaManager::GetOrCreate(nsIRunnable* aCallback) variant hides eventual errors (like NS_ERROR_ILLEGAL_DURING_SHUTDOWN) that might happen here from the caller. It seems cleaner, to use the variant with error return.

See Also: → 1726714
Assignee: nobody → hxu
Attachment #9242212 - Attachment is obsolete: true
Attachment #9242676 - Attachment is obsolete: true
Attachment #9243173 - Attachment is obsolete: true
Pushed by hxu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b4b0ae95055b
Simplify QuotaManager::GetOrCreate and intermediate state of opening QuotaManager; r=dom-storage-reviewers,janv
Pushed by hxu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5d3ee7e66237
Simplify QuotaManager::GetOrCreate and intermediate state of opening QuotaManager; r=dom-storage-reviewers,janv
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch

Build error fixed.

Flags: needinfo?(hxu)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: