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:
asqueella%gmail.com 2007-02-11 00:23:02 +00:00
Родитель 9910e03b3b
Коммит eccffd2e72
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;
}