Closed Bug 1265770 Opened 4 years ago Closed 4 years ago

Don't look for a prototype for our interface object if we don't plan to have an interface object

Categories

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

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla48
Tracking Status
firefox48 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

(Blocks 1 open bug)

Details

(Whiteboard: btpp-active)

Attachments

(1 file)

We already do this in cases when we have no interface prototype object (skip looking for a prototype for that nonexistent thing).  We should do the same for interface objects.  Without that, a [NoInterfaceObject] thing inheriting from another [NoInterfaceObject] thing is broken, because it will try to get the (nonexistent, hence with no way to get it) interface object of the parent.
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Whiteboard: btpp-active
Attachment #8742890 - Flags: review?(peterv) → review+
https://hg.mozilla.org/mozilla-central/rev/4b03e85de220
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.