Open Bug 421174 Opened 17 years ago Updated 2 years ago

"ASSERTION: Wrong element being closed" setting innerHTML in XHTML document

Categories

(Core :: XML, defect)

x86
macOS
defect

Tracking

()

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

245 bytes, application/xhtml+xml
Details
Attached file testcase
Loading the testcase triggers: ###!!! ASSERTION: Wrong element being closed: 'content->NodeInfo()->Equals(debugTagAtom, debugNameSpaceID)', file /Users/jruderman/trunk/mozilla/content/xml/document/src/nsXMLContentSink.cpp, line 1108
Still happens on trunk.
Loading about:memory is enough to trigger this.
debugTagAtom is body, content->NodeInfo()->mInner.mName is #document-fragment.
Both about:memory and the attached test case use innerHTML.
Does about:memory set innerHTML to something that's not well-formed?
(In reply to comment #6) > Does about:memory set innerHTML to something that's not well-formed? I don't think so. See bug 667093 comment 0.
(In reply to comment #7) > > I don't think so. See bug 667093 comment 0. And there are no warnings/errors given about the innerHTML.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: