Closed Bug 1668548 Opened 1 year ago Closed 1 year ago

Only pass the error value to a cleanup function with QM_TRY*

Categories

(Core :: Storage: Quota Manager, task)

task

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: sg, Assigned: sg)

Details

Attachments

(1 file)

Currently, the Result object is passed to a cleanup function specified with QM_TRY*, which requires moving it to a temporary first. However, the result is always an error when calling the function, so this can be simplified to only unwrap and pass the error value.

Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/65463463ec80
Only pass the error value to a cleanup function with QM_TRY*. r=dom-workers-and-storage-reviewers,janv
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.