diff --git a/browser/components/preferences/permissions.js b/browser/components/preferences/permissions.js index 3a33e78588cd..7ad74b992318 100644 --- a/browser/components/preferences/permissions.js +++ b/browser/components/preferences/permissions.js @@ -66,6 +66,9 @@ var gPermissionManager = { case nsIPermissionManager.DENY_ACTION: stringKey = "cannot"; break; + case nsICookiePermission.ACCESS_ALLOW_FIRST_PARTY_ONLY: + stringKey = "canAccessFirstParty"; + break; case nsICookiePermission.ACCESS_SESSION: stringKey = "canSession"; break; diff --git a/browser/locales/en-US/chrome/browser/preferences/preferences.properties b/browser/locales/en-US/chrome/browser/preferences/preferences.properties index 1066a46fe205..e949b4ec138d 100644 --- a/browser/locales/en-US/chrome/browser/preferences/preferences.properties +++ b/browser/locales/en-US/chrome/browser/preferences/preferences.properties @@ -88,6 +88,7 @@ forSecureOnly=Encrypted connections only forAnyConnection=Any type of connection expireAtEndOfSession=At end of session can=Allow +canAccessFirstParty=Allow first party only canSession=Allow for Session cannot=Block noCookieSelected= @@ -130,4 +131,4 @@ syncUnlinkConfirm.label=Unlink # LOCALIZATION NOTE (featureEnableRequiresRestart, featureDisableRequiresRestart, restartTitle): %S = brandShortName featureEnableRequiresRestart=%S must restart to enable this feature. featureDisableRequiresRestart=%S must restart to disable this feature. -shouldRestartTitle=Restart %S \ No newline at end of file +shouldRestartTitle=Restart %S