Commit Graph

89 Commits

Author SHA1 Message Date
Dan Witte
883d2679b1 Remove unnecessary stripping of quotes prior to calling PR_ParseTimeString. b=542974, r=abarth 2010-02-10 12:22:49 -08:00
Adam Barth
2f2a7320df Bug 542974 - Make the cookie parser's handling of " characters more like IE. r=dwitte 2010-02-09 13:07:16 -08:00
Dan Witte
a6881a59c8 Bug 536650 - Cookie values not saved for pages loaded from file://; part 2: deal with empty hosts in the
cookieservice . r=sdwilsh, sr=bz
2010-01-12 10:29:20 -08:00
Adam Barth
da5871d549 Bug 536514 - Treat leading and trailing "."s in Domain attributes like other browsers. r=dwitte 2009-12-26 13:39:35 -08:00
Dan Witte
4b537e927a Bug 536230 - Crash or Hang @ [nsCookieService::RemoveCookieFromList(nsListIter const&)]. r=sdwilsh 2009-12-22 14:54:26 -08:00
Dan Witte
7feb44aac0 Whitespace change to force rebuild. 2009-12-19 22:12:06 -08:00
Dan Witte
7bddc14a9f Bug 321624 - cookie per-host limit doesn't include all cookies from a domain. r=sdwilsh 2009-12-19 15:55:56 -08:00
Dan Witte
2b2abe5315 Bug 444600 - (cookiemonster2) Cookies go missing after a few days. r=sdwilsh, sr=mconnor 2009-12-15 14:21:28 -08:00
Myk Melez
e56434ddcc update comments to clarify that (get|set)CookieString[FromHTTP] should be passed a channel so that cookies are correctly get/set when third-party cookies are disabled by the user; rs=bzbarsky
--HG--
extra : rebase_source : bba695d76a8bdef06a64772e67dc6c8feaf656f8
2009-12-14 16:24:44 -08:00
Dan Witte
95f345d61f Bug 526789 - UMR in nsCookieService::CountCookiesFromHostInternal, GetCookiesFromHost, and
GetCookieInternal when given empty host string. r=biesi
2009-11-18 10:52:33 -08:00
Dan Witte
a8b994d8bd Back out bug 526789 to see if it's the cause of mochi orange. 2009-11-17 15:16:44 -08:00
Dan Witte
46c6ebd559 Bug 526789 - UMR in nsCookieService::CountCookiesFromHostInternal, GetCookiesFromHost, and
GetCookieInternal when given empty host string. r=biesi
2009-11-13 13:05:50 -08:00
Phil Ringnalda
cc85b6a1a7 Backed out changeset a696d331ebf7 (bug 526789) for test failures 2009-11-09 19:45:23 -08:00
Dan Witte
c736ff0524 Bug 526789 - UMR in nsCookieService::CountCookiesFromHostInternal, GetCookiesFromHost, and
GetCookieInternal when given empty host string. r=biesi
2009-11-09 16:21:57 -08:00
Dan Witte
4433383530 Add xpcshell test to make sure things stay in sync when switching PB mode. b=481775, r=sdwilsh 2009-10-22 13:53:58 -07:00
Dan Witte
39ee7ca324 tweak assertion. 2009-10-16 16:50:57 -07:00
Dan Witte
ea6b4ae8a7 fix bustage. 2009-10-16 14:26:00 -07:00
Dan Witte
93fa18da2f Bug 481775 - Crash in [@ nsCookieService::RemoveCookieFromList(nsListIter&)]. r=sdwilsh 2009-10-16 14:01:47 -07:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Dan Witte
ba6b491419 Bug 423132 - speed up sessionstore cookie bits. r=dietrich, sr=mconnor 2009-07-15 17:57:29 -07:00
Dan Witte
b08ec7cdec Backed out changeset d6a5afef5837 2009-03-16 01:33:54 -07:00
Dan Witte
e6d4d432f3 Bug 444600 - (cookiemonster2) Cookies go missing after a few days. r=sdwilsh, sr=mconnor 2009-03-15 21:38:56 -07:00
Chris Double
7a0ea88deb Backed out changeset 98381f8c8e08 due to test failure 2009-03-05 23:19:14 +13:00
Dan Witte
1fa46a3004 change cookie eviction so that purges only take place when the limit on max cookies is reached, and the oldest cookie is greater than a set age. b=444600, r=sdwilsh,
sr=mconnor.
2009-03-04 22:11:24 -08:00
Arpad Borsos
70846f9fab Bug 474369 - get rid of nsVoidArray; netwerk part, v2; r=cbiesinger 2009-02-23 02:05:28 +01:00
Dan Witte
a9d88e1379 delete corrupt cookies.sqlite on startup so the user doesn't have to. b=470578, r=sdwilsh, sr=mconnor 2009-02-03 19:26:59 -08:00
Dan Witte
0bf164f8a4 bump cookie limit from 1000 to 3000 to reduce occurrence of cookie purges. b=444600, r+sr=mconnor. 2009-02-03 19:11:33 -08:00
Dan Witte
e738a8d1e4 bug 468744 - finalize sqlite statements before closing db to avoid sqlite warnings; r=sdwilsh 2008-12-10 15:54:57 -08:00
Ehsan Akhgari
13b00ee7f2 Change the IDL comment to specify microseconds for bug 411952 2008-11-01 01:06:23 +03:30
Ehsan Akhgari
472e6a24bc Bug 411952 - Cookie's creationTime needs to be exposed via nsICookie2; r=mconnor, sr=bzbarsky 2008-10-31 17:19:18 +03:30
Ehsan Akhgari
b01ff42ba2 Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [a fix to the cookie part]; r=dwitte sr=bzbarsky 2008-10-21 02:00:30 +03:30
Ehsan Akhgari
90c0874889 Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [cookie part]; r=dwitte,mconnor sr=bzbarsky 2008-10-20 00:42:53 +03:30
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Ehsan Akhgari
0a5de4c6d9 Bug 455598 - nsICookieManager2.cookieExists incorrectly assumes a nsCookie param; r=dwitte sr=bzbarsky 2008-09-17 15:30:47 +02:00
timeless@mozdev.org
25279c5eca Bug 455035 Crash shutting down in cookie code
r=dwitte sr=biesi
2008-09-14 03:32:14 +02:00
Shawn Wilsher
cdfe697222 Bug 448372 - Sensitive cookie data remains readable and on disk in cookies.sqlite after "Clear Private Data" and "Remove All Cookies"
This makes the cookie service now delete the database file if it cannot clear
the table because of corruption.  It then re-inits the database.
r=dwitte
2008-08-19 22:57:18 -05:00
Eric Butler
06ad41b197 open cookie db unshared and exclusive - bug 449987. r=dwitte 2008-08-17 21:05:54 -07:00
Bobby Holley
e42a3ca1fc Bug 449986 – profile-before-change should close cookie db connection. r=dwitte 2008-08-11 22:14:15 -07:00
Vladimir Vukicevic
34c5bfc35c b=437002; win32 weirdness with PGO builds -- stop building cookies with WARNINGS_AS_ERRORS. r=me 2008-06-02 23:52:47 -07:00
reed@reedloden.com
eb60d3138f Bug 407845 - "nsCookieService::FindCookie() shouldn't return expired cookies" [p=dwitte@stanford.edu (Dan Witte [dwitte]) r+sr=biesi a1.9=damons] 2008-04-08 12:24:58 -07:00
sdwilsh@shawnwilsher.com
e99293d31f Bug 423273 - Fix storage API to not break old behavior. r=shaver, sr=shaver, a=shaver 2008-03-24 15:14:38 -07:00
dwitte@stanford.edu
831df4da68 fix followup review comments from bug 421494. r=mconnor, sr=bz 2008-03-16 02:30:29 -07:00
dwitte@stanford.edu
13effbe655 Bug 421494 - reimplement third party cookie blocking. r=mconnor, sr=bz, blocking1.9+ 2008-03-12 00:53:50 -07:00
dwitte@stanford.edu
1e46b1863e Bug 404225 - improve nsCookieService::GetEnumerator() performance. r+sr+a=shaver 2008-03-08 01:47:23 -08:00
dwitte@stanford.edu
55d30b30aa Bug 416207 - Update cookie/permission services from changes to mozIStorageService::OpenDatabase. r=sdwilsh, sr=mconnor, a=beltzner 2008-02-28 00:23:12 -08:00
benjamin@smedbergs.us
b48eae3354 Bug 409384 - Firefox 3.0b2 fauks to compile with gcc 4.3, r=dwitte+dbaron a=damons 2008-02-26 14:44:41 -08:00
tglek@mozilla.com
5d9eb35f5b bug 398568: Fix prbool misuse in netwerk. r=biesi a=dsicore 2008-02-21 15:18:49 -08:00
dwitte@stanford.edu
2cb7df8b9b trivial errors-as-warnings fix for gcc4.3. 2008-02-02 21:06:57 -08:00
dwitte@stanford.edu
c85305535f remove NS_WARNING to reduce debug spew. debug-only change. 2008-01-02 13:16:53 -08:00
dwitte@stanford.edu
40c9289d49 relanding bug 385299 and updating tests. 2007-12-04 16:03:22 -08:00