Open Bug 901299 Opened 11 years ago Updated 2 years ago

Consider requiring GetParentObject to return a ParentObject

Categories

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

x86
macOS
defect

Tracking

()

People

(Reporter: bzbarsky, Unassigned)

Details

In bug 887533 we had to add a bunch of includes to headers because bindings code has no way to know what the return type of GetParentObject is.

I think we should consider requiring that GetParentObject return a ParentObject struct, and make all GetParentObject implementations that need extra includes not inline....  It'll mean one extra OOL call during wrapping, and is a bit more user-hostile, but that might be ok.
Flags: needinfo?(peterv)
As long as we don't make ParentObject constructors explicit, fine by me :-).
Flags: needinfo?(peterv)
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.