Closed Bug 404117 Opened 17 years ago Closed 17 years ago

ASSERTION: Class name and proto chain interface name mismatch!

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla1.9beta2

People

(Reporter: Waldo, Assigned: peterv)

References

Details

(Keywords: assertion)

Attachments

(2 files)

Attached file Two separate stacks for the assertion (deleted) —
Seen while running <content/html/document/test/test_bug391777.html>.

My component guess is probably completely wrong, for what it's worth...
###!!! ASSERTION: Class name and proto chain interface name mismatch!: 'nsCRT::strcmp(CutPrefix(name), mData->mName) == 0', file ../../../../mozilla/dom/src/base/nsDOMClassInfo.cpp, line 3650
(gdb) p mData->mName
$1 = 0xb6dfe4e6 "ModalContentWindow"
(gdb) p name
$2 = {<nsCString> = {<nsACString_internal> = {<nsCSubstring_base> = {<No data fields>}, 
      mData = 0xafc41548 "nsIDOMWindow", mLength = 12, 
      mFlags = 9}, <No data fields>}, <No data fields>}

jst, do you know what's up here?
Blocks: 194404
Probably need to switch to DOM_CLASSINFO_MAP_BEGIN_NO_CLASS_IF for ModalContentWindow.
Ah, indeed.  Like ChromeWindow...
Attached patch v1 (deleted) — Splinter Review
Trivial.
Assignee: nobody → peterv
Status: NEW → ASSIGNED
Attachment #291254 - Flags: superreview?(jst)
Attachment #291254 - Flags: review?(jst)
Attachment #291254 - Flags: superreview?(jst)
Attachment #291254 - Flags: superreview+
Attachment #291254 - Flags: review?(jst)
Attachment #291254 - Flags: review+
Attachment #291254 - Flags: approval1.9+
Whiteboard: [needs landing]
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
OS: Windows XP → All
Priority: -- → P4
Hardware: PC → All
Resolution: --- → FIXED
Whiteboard: [needs landing]
Target Milestone: --- → mozilla1.9 M10
Component: DOM: Core → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: