зеркало из https://github.com/mozilla/gecko-dev.git
Bug 628370 patch 1: Downgrade assertion for "Unable to locate an XBL binding", since we hit it under normal conditions and we have code to handle it. r=smaug
This commit is contained in:
Родитель
825e8cd0d1
Коммит
ef19c766d3
|
@ -882,7 +882,7 @@ nsXBLService::GetBinding(nsIContent* aBoundElement, nsIURI* aURI,
|
|||
|
||||
nsXBLPrototypeBinding* protoBinding = docInfo->GetPrototypeBinding(ref);
|
||||
|
||||
NS_ASSERTION(protoBinding, "Unable to locate an XBL binding.");
|
||||
NS_WARN_IF_FALSE(protoBinding, "Unable to locate an XBL binding");
|
||||
if (!protoBinding)
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче