Closed Bug 1505891 Opened 2 years ago Closed 2 years ago

Allow XPCOM cenums to be infallible

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: qdot, Assigned: qdot)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

They're basically just fancy names for built-in types, so there's no reason getters should fail for them in C++.
They're just integers, so there's no reason they need to be fallible
since they're basically a built-in anyways.
Pushed by kmachulis@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/eb0561d39ac0
Allow XPIDL CEnums to be infallible; r=froydnj
https://hg.mozilla.org/mozilla-central/rev/eb0561d39ac0
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.