Bug 1949805 - Window opener heuristic with user interaction should not only work for trackers - r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D239165
This commit is contained in:
@@ -17575,11 +17575,6 @@ void Document::MaybeAllowStorageForOpenerAfterUserInteraction() {
|
||||
return;
|
||||
}
|
||||
|
||||
// We care about first-party tracking resources only.
|
||||
if (!nsContentUtils::IsFirstPartyTrackingResourceWindow(inner)) {
|
||||
return;
|
||||
}
|
||||
|
||||
auto* outer = nsGlobalWindowOuter::Cast(inner->GetOuterWindow());
|
||||
if (NS_WARN_IF(!outer)) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user