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:
anonymous0000007 2023-05-03 13:25:42 +00:00
Родитель 89172dc9c2
Коммит 3db6038aa5
1 изменённых файлов: 0 добавлений и 7 удалений

Просмотреть файл

@ -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.