Bug 1703786 - Use nsILoadInfo.sandboxFlags instead r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D112154
This commit is contained in:
@@ -10100,10 +10100,6 @@ nsIPrincipal* nsDocShell::GetInheritedPrincipal(
|
||||
}
|
||||
}
|
||||
|
||||
if (httpChannelInternal && aBrowsingContext->GetSandboxFlags() != 0) {
|
||||
httpChannelInternal->SetHasNonEmptySandboxingFlag(true);
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIURI> rpURI;
|
||||
aLoadInfo->GetResultPrincipalURI(getter_AddRefs(rpURI));
|
||||
Maybe<nsCOMPtr<nsIURI>> originalResultPrincipalURI;
|
||||
|
||||
Reference in New Issue
Block a user