Closed
Bug 1659673
Opened 4 years ago
Closed 4 years ago
Add the `mozilla::Result::orElse` method
Categories
(Core :: MFBT, task, P2)
Core
MFBT
Tracking
()
RESOLVED
FIXED
82 Branch
Tracking | Status | |
---|---|---|
firefox82 | --- | fixed |
People
(Reporter: janv, Assigned: janv)
Details
Attachments
(1 file)
Quota manager now has the success enforcer for filtering out specific errors:
https://searchfox.org/mozilla-central/rev/fa7f47027917a186fb2052dee104cd06c21dd76f/dom/quota/QuotaCommon.h#366
https://searchfox.org/mozilla-central/rev/fa7f47027917a186fb2052dee104cd06c21dd76f/dom/quota/ActorsParent.cpp#2398
https://searchfox.org/mozilla-central/rev/fa7f47027917a186fb2052dee104cd06c21dd76f/dom/quota/ActorsParent.cpp#2390
It would be nicer if mozilla::Result supported this natively.
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Updated•4 years ago
|
Summary: Add the `mozilla::Result::mapErrTo` method → Add the `mozilla::Result::orElse` method
Updated•4 years ago
|
Attachment #9170623 -
Attachment description: Bug 1659673 - Add the `mozilla::Result::mapErrTo` method; r=froydnj → Bug 1659673 - Add the `mozilla::Result::orElse` method; r=froydnj
Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5bc49a803fcf Add the `mozilla::Result::orElse` method; r=froydnj,dom-workers-and-storage-reviewers,sg
Comment 3•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox82:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•