Closed Bug 1491187 Opened 6 years ago Closed 3 years ago

Support [infallible] in XPIDL on strings

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: n.nethercote, Unassigned)

Details

Bug 1454568 added [infallible] support for interface and domobject attributes. Adding it for strings as well would be nice.

For `string` and `wstring`, the infallible getter could just return `char*`/`char16_t*` in the obvious fashion.

For `AString`, `ACString` and `AUTF8String`, the form of the infallible getter is less obvious. Should it still use an outparam? An outparam is less convenient to use, but does allow the use of nsAuto[C]String.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.