зеркало из https://github.com/mozilla/pjs.git
Bug 324397 - 'Allow cookies for the original site only' preference should be selected by default. patch by dveditz and dwitte; r=mconnor, a=schrep+mconnor
This commit is contained in:
Родитель
943a8a94b5
Коммит
064b62b2cd
|
@ -340,7 +340,7 @@ pref("privacy.sanitize.promptOnSanitize", true);
|
|||
|
||||
pref("network.proxy.share_proxy_settings", false); // use the same proxy settings for all protocols
|
||||
|
||||
pref("network.cookie.cookieBehavior", 0); // cookies enabled
|
||||
pref("network.cookie.cookieBehavior", 1); // 0-Accept, 1-dontAcceptForeign, 2-dontUse
|
||||
pref("network.cookie.enableForCurrentSessionOnly", false);
|
||||
|
||||
// l12n and i18n
|
||||
|
|
|
@ -160,7 +160,6 @@ var gPrivacyPane = {
|
|||
* 1 means allow cookies from the "originating" server only; see
|
||||
* netwerk/cookie/src/nsCookieService.cpp for a hairier definition
|
||||
* 2 means disable all cookies
|
||||
* 3 means use P3P policy to decide, which is probably broken
|
||||
* network.cookie.lifetimePolicy
|
||||
* - determines how long cookies are stored:
|
||||
* 0 means keep cookies until they expire
|
||||
|
@ -194,7 +193,7 @@ var gPrivacyPane = {
|
|||
writeAcceptCookies: function ()
|
||||
{
|
||||
var checkbox = document.getElementById("acceptCookies");
|
||||
return checkbox.checked ? 0 : 2;
|
||||
return checkbox.checked ? 1 : 2;
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче