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
Родитель eb1c1d4c66
Коммит 61f5b1d1a1
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

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