Closed
Bug 742200
Opened 13 years ago
Closed 13 years ago
optional jsval arguments ('any' in the IDL) should become JSVAL_VOID, not JSVAL_NULL, when there was no argument passed
Categories
(Core :: DOM: Core & HTML, defect, P2)
Tracking
()
RESOLVED
FIXED
mozilla14
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
674 bytes,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
Right now we do JSVAL_NULL converted to the argument type for all optional arguments without a default value.
Assignee | ||
Comment 1•13 years ago
|
||
Actually, I think we can just use JSVAL_VOID across the board here; for everything but string arguments it's identical, and for string arguments I think the JSVAL_VOID behavior is more per spec.
Assignee | ||
Comment 2•13 years ago
|
||
Assignee: nobody → bzbarsky
Attachment #613374 -
Flags: review?(peterv)
Assignee | ||
Updated•13 years ago
|
Priority: -- → P2
Whiteboard: [need review]
Updated•13 years ago
|
Attachment #613374 -
Flags: review?(peterv) → review+
Assignee | ||
Comment 3•13 years ago
|
||
Flags: in-testsuite?
Whiteboard: [need review]
Target Milestone: --- → mozilla14
Comment 4•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•