Bug 1639833 - IntrisincStoragePrincipal should always be partitioned - part 2 - Expose PartitionedPrincipal, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D76915
This commit is contained in:
@@ -85,9 +85,10 @@ class nsDocShellLoadState final {
|
||||
|
||||
void SetPrincipalToInherit(nsIPrincipal* aPrincipalToInherit);
|
||||
|
||||
nsIPrincipal* StoragePrincipalToInherit() const;
|
||||
nsIPrincipal* PartitionedPrincipalToInherit() const;
|
||||
|
||||
void SetStoragePrincipalToInherit(nsIPrincipal* aStoragePrincipalToInherit);
|
||||
void SetPartitionedPrincipalToInherit(
|
||||
nsIPrincipal* aPartitionedPrincipalToInherit);
|
||||
|
||||
bool LoadReplace() const;
|
||||
|
||||
@@ -332,7 +333,7 @@ class nsDocShellLoadState final {
|
||||
|
||||
nsCOMPtr<nsIPrincipal> mPrincipalToInherit;
|
||||
|
||||
nsCOMPtr<nsIPrincipal> mStoragePrincipalToInherit;
|
||||
nsCOMPtr<nsIPrincipal> mPartitionedPrincipalToInherit;
|
||||
|
||||
// If this attribute is true, then a top-level navigation
|
||||
// to a data URI will be allowed.
|
||||
|
||||
Reference in New Issue
Block a user