Closed
Bug 863898
Opened 11 years ago
Closed 11 years ago
Add support for dictionary arguments to JS-implemented WebIDL
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla23
People
(Reporter: mccr8, Assigned: bzbarsky)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
mccr8
:
review+
|
Details | Diff | Splinter Review |
"Comment 4 sounds like a bug in our js-implemented codegen for dictionaries: dictionary arguments are const structs, but dictionary return values can't be const because of the ToObject thing. That said, I wonder why ToObject is not a const method... we should consider fixing that if we can."
Reporter | ||
Comment 1•11 years ago
|
||
![]() |
Assignee | |
Comment 2•11 years ago
|
||
Attachment #739910 -
Flags: review?(continuation)
![]() |
Assignee | |
Updated•11 years ago
|
Assignee: nobody → bzbarsky
![]() |
Assignee | |
Updated•11 years ago
|
Whiteboard: [need review]
Reporter | ||
Comment 3•11 years ago
|
||
Comment on attachment 739910 [details] [diff] [review] Add support for dictionary arguments in JS-implemented WebIDL bindings. Review of attachment 739910 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/bindings/test/TestJSImplGen.webidl @@ -327,5 @@ > void passOptionalNullableObjectWithDefaultValue(optional object? arg = null); > object receiveObject(); > object? receiveNullableObject(); > > -/* The rest of these are untested. Thanks for looking at these and filing bugs!
Attachment #739910 -
Flags: review?(continuation) → review+
Reporter | ||
Comment 4•11 years ago
|
||
FYI, I included this patch in my try run, and it was all green. https://tbpl.mozilla.org/?tree=Try&rev=7ddb2c175154
![]() |
Assignee | |
Comment 5•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/4f09599d049f
Flags: in-testsuite+
Whiteboard: [need review]
Target Milestone: --- → mozilla23
Comment 6•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4f09599d049f
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•