Skip to content

Commit 0379f31

Browse files
committed
Bug 1693000 - Updated CookiePartitionedForeign console message to refer to State Partitioning. r=timhuang,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D105343
1 parent cd3fa8e commit 0379f31

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

devtools/client/webconsole/test/browser/browser_webconsole_trackingprotection_errors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ add_task(async function testForeignCookiePartitionedMessage() {
189189
findMessage(
190190
hud,
191191
`Partitioned cookie or storage access was provided to ${PARTITIONED_URL} because it is ` +
192-
`loaded in the third-party context and storage partitioning is enabled.`
192+
`loaded in the third-party context and dynamic state partitioning is enabled.`
193193
)
194194
);
195195
await testLearnMoreClickOpenNewTab(

devtools/client/webconsole/test/browser/browser_webconsole_warning_group_storage_isolation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const PARTITIONED_URL =
1717

1818
const STORAGE_ISOLATION_GROUP_LABEL =
1919
`Partitioned cookie or storage access was provided to “<URL>” because it is ` +
20-
`loaded in the third-party context and storage partitioning is enabled.`;
20+
`loaded in the third-party context and dynamic state partitioning is enabled.`;
2121

2222
const COOKIE_BEHAVIOR_PREF = "network.cookie.cookieBehavior";
2323
const COOKIE_BEHAVIOR_PARTITION_FOREIGN = 5;

netwerk/locales/en-US/necko.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ CookieBlockedByPermission=Request to access cookies or storage on “%1$S” was
3737
CookieBlockedTracker=Request to access cookie or storage on “%1$S” was blocked because it came from a tracker and content blocking is enabled.
3838
CookieBlockedAll=Request to access cookie or storage on “%1$S” was blocked because we are blocking all storage access requests.
3939
CookieBlockedForeign=Request to access cookie or storage on “%1$S” was blocked because we are blocking all third-party storage access requests and content blocking is enabled.
40-
# As part of dynamic first-party isolation, third-party resources might be limited to "partitioned" storage access that is separate from the first-party context.
40+
# As part of dynamic state partitioning, third-party resources might be limited to "partitioned" storage access that is separate from the first-party context.
4141
# This allows e.g. cookies to still be set, and prevents tracking without totally blocking storage access. This message is shown in the web console when this happens
4242
# to inform developers that their storage is isolated.
43-
CookiePartitionedForeign=Partitioned cookie or storage access was provided to “%1$S” because it is loaded in the third-party context and storage partitioning is enabled.
43+
CookiePartitionedForeign2=Partitioned cookie or storage access was provided to “%1$S” because it is loaded in the third-party context and dynamic state partitioning is enabled.
4444

4545
# LOCALIZATION NOTE (CookieAllowedForOriginByStorageAccessAPI): %2$S and %1$S are URLs.
4646
CookieAllowedForOriginByStorageAccessAPI=Storage access granted for origin “%2$S” on “%1$S”.

toolkit/components/antitracking/ContentBlockingNotifier.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ void ReportBlockingToConsole(uint64_t aWindowID, nsIURI* aURI,
171171

172172
case uint32_t(
173173
nsIWebProgressListener::STATE_COOKIES_PARTITIONED_FOREIGN):
174-
message = "CookiePartitionedForeign";
174+
message = "CookiePartitionedForeign2";
175175
category = "cookiePartitionedForeign"_ns;
176176
break;
177177

0 commit comments

Comments
 (0)