mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
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:
parent
a3068ac97c
commit
9cc635ad1c
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user