зеркало из https://github.com/mozilla/gecko-dev.git
bug 369560 - Change 'ASSERTION: *** XBL doc with no root element! Something went horribly wrong!' to NS_WARNING, since it can happen due to bad web content.
p=Alex Vincent <ajvincent@gmail.com> r+sr=sicking
This commit is contained in:
Родитель
9910e03b3b
Коммит
eccffd2e72
|
@ -414,7 +414,7 @@ nsXBLStreamListener::Load(nsIDOMEvent* aEvent)
|
|||
bindingManager->RemoveLoadingDocListener(documentURI);
|
||||
|
||||
if (!mBindingDocument->GetRootContent()) {
|
||||
NS_ERROR("*** XBL doc with no root element! Something went horribly wrong! ***");
|
||||
NS_WARNING("*** XBL doc with no root element! Something went horribly wrong! ***");
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче