Closed Bug 1505891 Opened 6 years ago Closed 6 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
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: