Closed Bug 869268 Opened 13 years ago Closed 4 years ago

JS-implemented WebIDL: support multiple constructors with arguments

Categories

(Core :: DOM: Core & HTML, defect, P5)

defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mccr8, Unassigned)

References

(Blocks 1 open bug)

Details

This isn't needed for PeerConnection, so I'm going to split it into a separate bug. When I try adding multiple __Init methods to the callback interface, they disappear and we only end up with one. My theory is that some code somewhere is canonicalizing by name and throwing out duplicates. If I name them __Init1, __Init2 etc they are all generated as expected.
> When I try adding multiple __Init methods to the callback interface You want to add one method with multiple signatures. But yes, separate bug for this is fine. ;)
Ah, okay. I've been ignoring the distinction between the two, but that should be easy enough to implement, just a map over the ctor signature.
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML

We're not going to implement this (JS-implemented WebIDL bindings are deprecated).

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.