Make the redirect check get principals the same way we get them elsewhere.

Clean up some code to use the new security manager method.  Bug 354693,
r=dveditz, sr=sicking
This commit is contained in:
bzbarsky@mit.edu
2006-11-22 18:27:54 +00:00
parent 45b8b6f3fc
commit 0d8e296fb6
19 changed files with 187 additions and 163 deletions

View File

@@ -63,7 +63,8 @@ public:
NS_DECL_ISUPPORTS_INHERITED
virtual void Reset(nsIChannel* aChannel, nsILoadGroup* aLoadGroup);
virtual void ResetToURI(nsIURI *aURI, nsILoadGroup *aLoadGroup);
virtual void ResetToURI(nsIURI *aURI, nsILoadGroup *aLoadGroup,
nsIPrincipal* aPrincipal);
virtual nsresult StartDocumentLoad(const char* aCommand, nsIChannel* channel,
nsILoadGroup* aLoadGroup,