mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
disable XPConnect security check, perhaps related to test failure. Getting reports of failures on Mac at least.
This commit is contained in:
parent
eff4c6bcca
commit
20a52a4fa4
@ -580,6 +580,7 @@ nsScriptSecurityManager::GetSitePolicy(const char *org)
|
||||
NS_IMETHODIMP
|
||||
nsScriptSecurityManager::CheckXPCPermissions(JSContext *aJSContext)
|
||||
{
|
||||
#if 0
|
||||
nsCOMPtr<nsIPrincipal> subject;
|
||||
if (NS_FAILED(GetSubjectPrincipal(aJSContext, getter_AddRefs(subject))))
|
||||
return NS_ERROR_FAILURE;
|
||||
@ -592,6 +593,7 @@ nsScriptSecurityManager::CheckXPCPermissions(JSContext *aJSContext)
|
||||
JS_ReportError(aJSContext, "Access denied to XPConnect service.");
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
#endif
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user