Closed Bug 1457051 Opened 2 years ago Closed 2 years ago

Wrong function being used for WebIDL isInstance

Categories

(Core :: DOM: Core & HTML, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

Attachments

(1 file)

The patch in bug 1452786 uses InterfaceHasInstance, not InterfaceIsInstance.  The two have pretty similar behavior, so no tests noticed this...
Attachment #8971111 - Flags: review?(kyle) → review+
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e515ebef17d0
The WebIDL isInstance should be a pure brand check, not an instanceof-like check.  r=qdot
Priority: -- → P2
https://hg.mozilla.org/mozilla-central/rev/e515ebef17d0
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.