Backing out changes until I can figure out why it's crashing on startup.

git-svn-id: svn://10.0.0.236/trunk@66937 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mstoltz%netscape.com
2000-04-23 21:25:39 +00:00
parent 22a08b511e
commit a8b220b370
24 changed files with 422 additions and 682 deletions

View File

@@ -790,8 +790,10 @@ nsJARChannel::GetOwner(nsISupports* *aOwner)
if (!mOwner)
{
nsCOMPtr<nsIPrincipal> certificate;
PRInt16 result;
nsresult rv = mJAR->GetCertificatePrincipal(mJAREntry,
getter_AddRefs(certificate));
getter_AddRefs(certificate),
&result);
if (NS_FAILED(rv)) return NS_ERROR_FAILURE;
if (certificate)
{ // Get the codebase principal