зеркало из https://github.com/mozilla/pjs.git
Bug 432813 followup fix, r+sr=bzbarsky
This commit is contained in:
Родитель
45b2f90a31
Коммит
f1f7f32750
|
@ -147,11 +147,13 @@ IsAncestorBinding(nsIDocument* aDocument,
|
|||
|
||||
rv = compareURL->Equals(aChildBindingURI, &equal);
|
||||
} else {
|
||||
// Just compare the URIs
|
||||
rv = binding->PrototypeBinding()->BindingURI()->Equals(aChildBindingURI,
|
||||
&equal);
|
||||
NS_ENSURE_SUCCESS(rv, PR_TRUE); // assume the worst
|
||||
}
|
||||
|
||||
NS_ENSURE_SUCCESS(rv, PR_TRUE); // assume the worst
|
||||
|
||||
if (equal) {
|
||||
++bindingRecursion;
|
||||
if (bindingRecursion < NS_MAX_XBL_BINDING_RECURSION) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче