Created attachment 306186 [details] testcase ###!!! 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
Created attachment 329483 [details] [diff] [review] Possible fix 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
Last Resolved: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.