зеркало из https://github.com/mozilla/pjs.git
backing out the kitchen sink.
This commit is contained in:
Родитель
83fda64c98
Коммит
9c27151c0e
|
@ -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", 1); // 0-Accept, 1-dontAcceptForeign, 2-dontUse
|
||||
pref("network.cookie.cookieBehavior", 0); // cookies enabled
|
||||
pref("network.cookie.enableForCurrentSessionOnly", false);
|
||||
|
||||
// l12n and i18n
|
||||
|
|
|
@ -1788,11 +1788,9 @@ nsCookieService::IsForeign(nsIURI *aHostURI,
|
|||
// first ensure we're not dealing with IP addresses; if we are, require an
|
||||
// exact match. we can't avoid this, otherwise the algo below will allow two
|
||||
// IP's such as 128.12.96.5 and 213.12.96.5 to match.
|
||||
/*
|
||||
if (IsIPAddress(firstHost)) {
|
||||
return !IsInDomain(firstHost, currentHost, PR_FALSE);
|
||||
}
|
||||
*/
|
||||
|
||||
// next, allow a one-subdomain-level "fuzz" in the comparison. first, we need
|
||||
// to find how many subdomain levels each host has; we only do the looser
|
||||
|
|
|
@ -511,7 +511,7 @@ main(PRInt32 argc, char *argv[])
|
|||
|
||||
allTestsPassed = PrintResult(rv, 9) && allTestsPassed;
|
||||
|
||||
/*
|
||||
|
||||
// *** foreign cookie tests
|
||||
printf("*** Beginning foreign cookie tests...\n");
|
||||
|
||||
|
@ -560,7 +560,7 @@ main(PRInt32 argc, char *argv[])
|
|||
rv[13] = CheckResult(cookie.get(), MUST_BE_NULL);
|
||||
|
||||
allTestsPassed = PrintResult(rv, 14) && allTestsPassed;
|
||||
*/
|
||||
|
||||
|
||||
// *** parser tests
|
||||
printf("*** Beginning parser tests...\n");
|
||||
|
@ -598,7 +598,7 @@ main(PRInt32 argc, char *argv[])
|
|||
|
||||
allTestsPassed = PrintResult(rv, 10) && allTestsPassed;
|
||||
|
||||
/*
|
||||
|
||||
// *** mailnews tests
|
||||
printf("*** Beginning mailnews tests...\n");
|
||||
|
||||
|
@ -628,7 +628,7 @@ main(PRInt32 argc, char *argv[])
|
|||
rv[6] = CheckResult(cookie.get(), MUST_BE_NULL);
|
||||
|
||||
allTestsPassed = PrintResult(rv, 7) && allTestsPassed;
|
||||
*/
|
||||
|
||||
|
||||
// *** path ordering tests
|
||||
printf("*** Beginning path ordering tests...\n");
|
||||
|
|
Загрузка…
Ссылка в новой задаче