Fixes for bug #16789; permit OpenDialog to work on hidden window even if document load has not completed yet; r=norris@netscape.com, r=danm@netscape.com
git-svn-id: svn://10.0.0.236/trunk@51243 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -439,9 +439,7 @@ nsScriptSecurityManager::GetSubjectPrincipal(JSContext *aCx,
|
||||
}
|
||||
// Couldn't find principals: no mobile code on stack.
|
||||
// Use system principal.
|
||||
*result = mSystemPrincipal;
|
||||
NS_ADDREF(*result);
|
||||
return NS_OK;
|
||||
return GetSystemPrincipal(result);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user