Temporary workaround for the composer and other related problems caused by security manager problems, change by mstoltz@netscape.com, r=jst@netscape.com
This commit is contained in:
Родитель
eb1c1d4c66
Коммит
61f5b1d1a1
|
@ -1656,7 +1656,8 @@ nsScriptSecurityManager::CanCreateWrapper(JSContext *aJSContext,
|
|||
if (checkedComponent)
|
||||
checkedComponent->CanCreateWrapper((nsIID *)&aIID, getter_Copies(objectSecurityLevel));
|
||||
|
||||
return CheckXPCPermissions(aJSContext, aObj, objectSecurityLevel, PR_FALSE,
|
||||
// XXX Do we skip a frame here or not? Need to find out
|
||||
return CheckXPCPermissions(aJSContext, aObj, objectSecurityLevel, PR_TRUE,
|
||||
"Permission denied to create wrapper for object");
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче