Bug 841212 - Add 'Allow first party only' to permissions.js. r=margaret

This commit is contained in:
Monica Chew 2013-03-11 20:24:52 -04:00
Родитель d85c955c65
Коммит 5989c95c30
2 изменённых файлов: 5 добавлений и 1 удалений

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

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

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

@ -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=<no cookie selected>
@ -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
shouldRestartTitle=Restart %S