Closed
Bug 1551124
Opened 6 years ago
Closed 6 years ago
Support optional Array arguments in xpconnect
Categories
(Core :: XPConnect, defect)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
mozilla68
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
Attachments
(1 file)
Right now we end up trying to convert undefined to Array and throw.
![]() |
Assignee | |
Comment 1•6 years ago
|
||
The semantics are that you get an empty array if the argument is not supplied,
and if [optional_argc] is used it's set accordingly so you can tell whether you
were passed explicit [] or not passed anything.
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e2bf0e06cb75
Add support for optional Array arguments in xpconnect. r=nika
Comment 3•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in
before you can comment on or make changes to this bug.
Description
•