Bug 801305 - Use the bonafide subject for the loadinfo owner. r=bz

This commit is contained in:
Bobby Holley 2012-10-19 01:45:09 +02:00
parent c4465f5bd1
commit 8c4243e6ae

View File

@ -241,7 +241,7 @@ nsLocation::CheckURL(nsIURI* aURI, nsIDocShellLoadInfo** aLoadInfo)
sourceURI = principalURI; sourceURI = principalURI;
} }
owner = do_QueryInterface(doc ? doc->NodePrincipal() : secMan->GetCxSubjectPrincipal(cx)); owner = do_QueryInterface(secMan->GetCxSubjectPrincipal(cx));
} }
// Create load info // Create load info