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:
jst%netscape.com 2001-05-09 02:53:46 +00:00
parent a3068ac97c
commit 9cc635ad1c

View File

@ -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");
}