Open
Bug 1691070
Opened 3 years ago
Make MaybeCreateOrUpgradeCache fail if the cache is deemed unusable
Categories
(Core :: Storage: Quota Manager, task)
Core
Storage: Quota Manager
Tracking
()
NEW
People
(Reporter: sg, Unassigned)
References
Details
Currently, MaybeCreateOrUpgradeCache
distinguishes between an unusable cache (returning false) and other failures. An unusable cache should likewise be treated as a failure. The return type should be changed to Result<Ok, nsresult>
or just nsresult
, and the caller be adapted accordingly.
You need to log in
before you can comment on or make changes to this bug.
Description
•