зеркало из https://github.com/mozilla/gecko-dev.git
Bug 385845 - Remove bogus assertion that mDocElement is in mDocument during XML parsing, since it was never a requirement and we've long since dropped doing what caused us to care, r=bz, a=orange
This commit is contained in:
Родитель
b42001e547
Коммит
c9f57cf21b
|
@ -332,15 +332,6 @@ nsXMLContentSink::DidBuildModel(PRBool aTerminated)
|
|||
// Kick off layout for non-XSLT transformed documents.
|
||||
mDocument->ScriptLoader()->RemoveObserver(this);
|
||||
|
||||
if (mDocElement) {
|
||||
// Notify document observers that all the content has been stuck
|
||||
// into the document.
|
||||
// XXX do we need to notify for things like PIs? Or just the
|
||||
// documentElement?
|
||||
NS_ASSERTION(mDocument->IndexOf(mDocElement) != -1,
|
||||
"mDocElement not in doc?");
|
||||
}
|
||||
|
||||
// Check if we want to prettyprint
|
||||
MaybePrettyPrint();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче