Closed
Bug 575517
Opened 14 years ago
Closed 14 years ago
Optional jsvals that are not specified should be JSVAL_VOID, not JSVAL_NULL
Categories
(Core :: XPConnect, defect)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
People
(Reporter: bent.mozilla, Assigned: bent.mozilla)
Details
Attachments
(1 file)
1003 bytes,
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
PConnect makes optional jsvals JSVAL_NULL currently even though JSVAL_VOID is a better choice. Simple patch to fix.
Attachment #454780 -
Flags: review?(jst)
Comment 1•14 years ago
|
||
Comment on attachment 454780 [details] [diff] [review] Patch, v1 + if(i < mArgc) + src = mArgv[i]; + else if (type_tag == nsXPTType::T_JSVAL) Remove the space between if and '(' to be consistent with the rest of this code...
Attachment #454780 -
Flags: review?(jst) → review+
Assignee | ||
Comment 2•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/665b3c7b414a
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•