Closed Bug 832011 Opened 13 years ago Closed 13 years ago

Assertion with Components.lookupMethod(canvas, "itemProp")

Categories

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

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla21
Tracking Status
firefox21 + fixed

People

(Reporter: jruderman, Assigned: dzbarsky)

References

Details

(Keywords: assertion, regression, testcase)

Attachments

(2 files)

Attached file testcase
Assertion failure: !aIID.Equals((::nsISupports::COMTypeInfo<int>::kIID)), at content/base/src/nsDOMTokenList.cpp:37 Maybe a regression from bug 830231? Or yet another reason for bug 693733? Note this only happens for Components.lookupMethod(canvas, "itemProp") and not for Object.getOwnPropertyDescriptor(canvas.__proto__, "itemProp").set Object.getOwnPropertyDescriptor(canvas.__proto__, "itemProp").get
nsDOMTokenList doesn't actually QI to nsISupports on trunk. Definitely a regression from bug 830231. NS_INTERFACE_TABLE1 does both the given interface and nsISupports.
Blocks: 830231
Component: XPConnect → DOM
Attached patch PatchSplinter Review
Attachment #703590 - Flags: review?(bzbarsky)
Comment on attachment 703590 [details] [diff] [review] Patch Please add a testcase! r=me
Attachment #703590 - Flags: review?(bzbarsky) → review+
Assignee: nobody → dzbarsky
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: