Closed Bug 420008 Opened 15 years ago Closed 14 years ago
"ASSERTION: Null content being pushed" with range
.create Contextual Fragment
###!!! ASSERTION: Null content being pushed!: 'aContent', file /Users/jruderman/trunk/mozilla/content/xml/document/src/nsXMLContentSink.cpp, line 891
This seems like a parser bug in nsParser::ParseFragment. In this case the context is empty, so we're never calling WillBuildModel before we call WillBuildContent. Hence the assertion.
Component: DOM: Traversal-Range → HTML: Parser
QA Contact: traversal-range → parser
This is pretty hacky, I admit, but I think it's the easiest way to ensure that we call WillBuildModel.
Assignee: nobody → mrbkap
Status: NEW → ASSIGNED
Attachment #329483 - Flags: review?(bzbarsky)
Comment on attachment 329483 [details] [diff] [review] Possible fix Yeah, I guess this works.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.