Open Bug 1124814 Opened 9 years ago Updated 2 years ago

consider adding a constructor to web idl union types that takes the Owning union type as an arg

Categories

(Core :: DOM: Bindings (WebIDL), defect, P5)

defect

Tracking

()

People

(Reporter: bkelly, Unassigned)

References

(Blocks 1 open bug)

Details

Right now its quite painful to convert from Owning union types to non-Owning union types.  In theory, though, we could add a constructor to the non owning type that copies from the owning type.  Something like this:

  FooOrBar::FooOrBar(const OwningFooOrBar& aOther)
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
Component: DOM: Core & HTML → DOM: Bindings (WebIDL)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.