If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

pyxpidl doesn't error out when returning an array of AUTF8String

NEW
Unassigned

Status

()

Core
XPCOM
6 years ago
6 years ago

People

(Reporter: Fallen, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
Using this idl code:

void getUserAddresses(out PRUint32 aCount, [array, size_is(aCount), retval] out AUTF8String aAddresses);

used to produce the following error in xpidl

Error: [domstring], [utf8string], [cstring], [astring] types cannot be used in array parameters

This seems not to be the case for pyxpidl, we just had a regression where the error was not caught.
You need to log in before you can comment on or make changes to this bug.