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:
dwitte@stanford.edu 2007-11-15 01:31:16 -08:00
Родитель dd6c781e12
Коммит 693a51ef4c
2 изменённых файлов: 2 добавлений и 3 удалений

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

@ -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;
},
/**