forked from mirrors/gecko-dev
Bug 1710232 - remove dead code unused function UseSiteForFirstPartyDomain in OriginAttributes.h. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D176790
This commit is contained in:
parent
89172dc9c2
commit
3db6038aa5
1 changed files with 0 additions and 7 deletions
|
|
@ -113,13 +113,6 @@ class OriginAttributes : public dom::OriginAttributesDictionary {
|
|||
return StaticPrefs::privacy_firstparty_isolate();
|
||||
}
|
||||
|
||||
static inline bool UseSiteForFirstPartyDomain() {
|
||||
if (IsFirstPartyEnabled()) {
|
||||
return StaticPrefs::privacy_firstparty_isolate_use_site();
|
||||
}
|
||||
return StaticPrefs::privacy_dynamic_firstparty_use_site();
|
||||
}
|
||||
|
||||
// check if the access of window.opener across different FPDs is restricted.
|
||||
// We only restrict the access of window.opener when first party isolation
|
||||
// is enabled and "privacy.firstparty.isolate.restrict_opener_access" is on.
|
||||
|
|
|
|||
Loading…
Reference in a new issue