зеркало из https://github.com/mozilla/gecko-dev.git
Fix more orangeness by always allowing linking to chrome XBL
This commit is contained in:
Родитель
aef7f5d8c8
Коммит
eb55eaf091
|
@ -1121,7 +1121,8 @@ nsXBLService::LoadBindingDocumentInfo(nsIContent* aBoundElement,
|
|||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
if (principalURI &&
|
||||
!(gAllowDataURIs && SchemeIs(aBindingURI, "data"))) {
|
||||
!(gAllowDataURIs && SchemeIs(aBindingURI, "data")) &&
|
||||
!SchemeIs(aBindingURI, "chrome")) {
|
||||
nsresult uaCheckRes =
|
||||
nsContentUtils::GetSecurityManager()->
|
||||
CheckLoadURIWithPrincipal(aBoundDocument->NodePrincipal(),
|
||||
|
|
Загрузка…
Ссылка в новой задаче