mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 18:47:53 +00:00
Bug 590611 - Raise cookies per basedomain limit to 150. r=sdwilsh, a=betaN+
This commit is contained in:
parent
bea0432bc4
commit
cf303b2f18
@ -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();
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user