зеркало из https://github.com/mozilla/gecko-dev.git
fix 61471, a=ben
This commit is contained in:
Родитель
905c7b19cc
Коммит
176da11932
|
@ -896,7 +896,7 @@ nsXBLBinding::InstallProperties(nsIContent* aBoundElement)
|
|||
PR_FALSE,
|
||||
&getFunc);
|
||||
if (NS_FAILED(rv)) return NS_ERROR_FAILURE;
|
||||
attrs |= JSPROP_GETTER;
|
||||
attrs |= JSPROP_GETTER | JSPROP_SHARED;
|
||||
}
|
||||
|
||||
// try for first <setter> tag
|
||||
|
@ -934,7 +934,7 @@ nsXBLBinding::InstallProperties(nsIContent* aBoundElement)
|
|||
PR_FALSE,
|
||||
&setFunc);
|
||||
if (NS_FAILED(rv)) return NS_ERROR_FAILURE;
|
||||
attrs |= JSPROP_SETTER;
|
||||
attrs |= JSPROP_SETTER | JSPROP_SHARED;
|
||||
}
|
||||
|
||||
if ((getFunc || setFunc) && classObject) {
|
||||
|
|
|
@ -896,7 +896,7 @@ nsXBLBinding::InstallProperties(nsIContent* aBoundElement)
|
|||
PR_FALSE,
|
||||
&getFunc);
|
||||
if (NS_FAILED(rv)) return NS_ERROR_FAILURE;
|
||||
attrs |= JSPROP_GETTER;
|
||||
attrs |= JSPROP_GETTER | JSPROP_SHARED;
|
||||
}
|
||||
|
||||
// try for first <setter> tag
|
||||
|
@ -934,7 +934,7 @@ nsXBLBinding::InstallProperties(nsIContent* aBoundElement)
|
|||
PR_FALSE,
|
||||
&setFunc);
|
||||
if (NS_FAILED(rv)) return NS_ERROR_FAILURE;
|
||||
attrs |= JSPROP_SETTER;
|
||||
attrs |= JSPROP_SETTER | JSPROP_SHARED;
|
||||
}
|
||||
|
||||
if ((getFunc || setFunc) && classObject) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче