Bug 590611 - Raise cookies per basedomain limit to 150. r=sdwilsh, a=betaN+

This commit is contained in:
Dan Witte 2010-09-01 16:27:10 -07:00
parent bea0432bc4
commit cf303b2f18
2 changed files with 4 additions and 1 deletions

View File

@ -4,6 +4,9 @@
function run_test()
{
// Set the base domain limit to 50 so we have a known value.
Services.prefs.setIntPref("network.cookie.maxPerHost", 50);
var cm = Cc["@mozilla.org/cookiemanager;1"].getService(Ci.nsICookieManager2);
cm.removeAll();

View File

@ -116,7 +116,7 @@ static const char kOldCookieFileName[] = "cookies.txt";
// default limits for the cookie list. these can be tuned by the
// network.cookie.maxNumber and network.cookie.maxPerHost prefs respectively.
static const PRUint32 kMaxNumberOfCookies = 3000;
static const PRUint32 kMaxCookiesPerHost = 50;
static const PRUint32 kMaxCookiesPerHost = 150;
static const PRUint32 kMaxBytesPerCookie = 4096;
static const PRUint32 kMaxBytesPerPath = 1024;