Bug 1785058 - Change dFPI heuristic console message to refer to dFPI. r=hsohaney,anti-tracking-reviewers,pbz

Differential Revision: https://phabricator.services.mozilla.com/D209817
This commit is contained in:
William Wen 2024-05-16 15:33:42 +00:00
parent 8028054c55
commit b38b3f0b73
2 changed files with 3 additions and 3 deletions

View file

@ -49,8 +49,8 @@ CookiePartitionedForeign2=Partitioned cookie or storage access was provided to
CookieAllowedForOriginByStorageAccessAPI=Storage access granted for origin “%2$S” on “%1$S”. CookieAllowedForOriginByStorageAccessAPI=Storage access granted for origin “%2$S” on “%1$S”.
# LOCALIZATION NOTE (CookieAllowedForOriginByHeuristic): %2$S and %1$S are URLs. # LOCALIZATION NOTE (CookieAllowedForOriginByHeuristic): %2$S and %1$S are URLs.
CookieAllowedForOriginByHeuristic=Storage access automatically granted for origin “%2$S” on “%1$S”. CookieAllowedForOriginByHeuristic=Storage access automatically granted for origin “%2$S” on “%1$S”.
# LOCALIZATION NOTE (CookieAllowedForFpiByHeuristic): %2$S and %1$S are URLs. # LOCALIZATION NOTE (CookieAllowedForDFPIByHeuristic): %2$S and %1$S are URLs.
CookieAllowedForFpiByHeuristic=Storage access automatically granted for First-Party isolation “%2$S” on “%1$S”. CookieAllowedForDFPIByHeuristic=Storage access automatically granted for Dynamic State Partitioning “%2$S” on “%1$S”.
# LOCALIZATION NOTE(CookieRejectedNonRequiresSecure2): %1$S is the cookie name. Do not localize "SameSite=None" and "secure". # LOCALIZATION NOTE(CookieRejectedNonRequiresSecure2): %1$S is the cookie name. Do not localize "SameSite=None" and "secure".
CookieRejectedNonRequiresSecure2=Cookie “%1$S” rejected because it has the “SameSite=None” attribute but is missing the “secure” attribute. CookieRejectedNonRequiresSecure2=Cookie “%1$S” rejected because it has the “SameSite=None” attribute but is missing the “secure” attribute.

View file

@ -155,7 +155,7 @@ void AddConsoleReport(nsIChannel* aNewChannel, nsIURI* aNewURI,
httpChannel->AddConsoleReport(nsIScriptError::warningFlag, httpChannel->AddConsoleReport(nsIScriptError::warningFlag,
ANTITRACKING_CONSOLE_CATEGORY, ANTITRACKING_CONSOLE_CATEGORY,
nsContentUtils::eNECKO_PROPERTIES, uri, 0, 0, nsContentUtils::eNECKO_PROPERTIES, uri, 0, 0,
"CookieAllowedForFpiByHeuristic"_ns, params); "CookieAllowedForDFPIByHeuristic"_ns, params);
} }
bool ShouldRedirectHeuristicApplyTrackingResource(nsIChannel* aOldChannel, bool ShouldRedirectHeuristicApplyTrackingResource(nsIChannel* aOldChannel,