Closed
Bug 1829311
Opened 3 years ago
Closed 3 years ago
Build error occurs when a callback has multiple union types as arguments.
Categories
(Core :: DOM: Bindings (WebIDL), defect)
Core
DOM: Bindings (WebIDL)
Tracking
()
RESOLVED
FIXED
115 Branch
| Tracking | Status | |
|---|---|---|
| firefox115 | --- | fixed |
People
(Reporter: edgar, Assigned: edgar)
Details
Attachments
(1 external file)
If there is callback defined as
callback TestUnionArguments = undefine((DOMString or long) arg1, (DOMString or long) arg2);
We got a build error like
0:11.04 ../TestCodeGenBinding.cpp:4614:27: error: use of undeclared identifier 'callbackObj'
0:11.04 if (!arg2.ToJSVal(cx, callbackObj, argv[1])) {
| Assignee | ||
Comment 1•3 years ago
|
||
Updated•3 years ago
|
Assignee: nobody → echen
Status: NEW → ASSIGNED
Pushed by echen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7e147c642adb
Fix build error when a callback has multiple union types as arguments; r=peterv
Comment 3•3 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox115:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•