Open Bug 1731267 Opened 4 months ago Updated 4 months ago

Result of Close() is not checked

Categories

(Core :: Storage: Cache API, task)

task

Tracking

()

People

(Reporter: hxu, Assigned: hxu)

References

Details

(Keywords: leave-open)

Attachments

(1 file)

The result of Close(); is not checked. We need to add a check of the result and fallback path code.

Follow-up of 1727497

Assignee: nobody → hxu
Duplicate of this bug: 1731266
Keywords: leave-open
Pushed by jstutte@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/da6b79ed1c23
Wrap call to ReadStream::Inner::Close() with MOZ_ALWAYS_SUCCEEDS in ReadStream::Inner::CloseStream(); r=dom-storage-reviewers,jstutte

If we find diagnostic asserts for this, then we should do what we initially thought to do: add a check of the result and a fallback path.

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