Open Bug 750308 Opened 12 years ago Updated 2 years ago

New binding code assumes that GetParentObject's return value can be cast to nsISupports

Categories

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

x86
macOS
defect

Tracking

()

People

(Reporter: bzbarsky, Unassigned)

References

Details

      No description provided.
Specifically, WrapNativeParent assumes that when it passes "p" as the first arg to the qsObjectHelper constructor.

Would it make sense to require that whatever types are returned from GetNativeParent() just implement a GetAsISupports()?
Summary: New binding code assumes that GetParentObject → New binding code assumes that GetParentObject's return value can be cast to nsISupports
I think the patch in bug 762651 actually fixes this by adding ToSupports() calls.
Depends on: 762651
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
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.