Commit Graph

35 Commits

Author SHA1 Message Date
Shawn Wilsher
5bdff598be Bug 536978 - Cookies should write to the database asynchronously.
This makes cookie insertion, updates, and deletions happen asynchronously off of
the main thread.  The only I/O done on the main thread is the initial loading of
the database at each startup.
r=dwitte
2010-03-12 07:18:38 -08:00
Marco Bonardo
28774cea88 Backing out bug 536978, due to a Storage assertion causing orange. CLOSED TREE 2010-03-12 17:41:28 +01:00
Shawn Wilsher
6fb0361405 Bug 536978 - Cookies should write to the database asynchronously.
This makes cookie insertion, updates, and deletions happen asynchronously off of
the main thread.  The only I/O done on the main thread is the initial loading of
the database at each startup.
r=dwitte
2010-03-12 07:18:38 -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
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
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
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
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
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
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
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
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
40c9289d49 relanding bug 385299 and updating tests. 2007-12-04 16:03:22 -08:00
dwitte@stanford.edu
b8694550dd backing out due to orange 2007-12-04 15:02:24 -08:00
dwitte@stanford.edu
a45f4e89bb Bug 385299 - use eTLD in cookies (stop sites setting cookies for the entire ".co.uk" domain). r=dveditz, sr=mconnor, blocking1.9+ 2007-12-04 14:26:42 -08:00
dwitte@stanford.edu
706d788fab relanding modified patch for bug 403372. 2007-11-18 00:08:34 -08:00
reed@reedloden.com
ffbf8516ba Back out dwitte's cookie monster patch (bug 403372) due to Tp regression. 2007-11-17 01:49:18 -08:00
dwitte@stanford.edu
d59473ccc8 relanding bug 403372. 2007-11-16 22:08:10 -08:00
dwitte@stanford.edu
774846d1ce backing out to fix orange. 2007-11-16 19:40:34 -08:00
dwitte@stanford.edu
65a58cba29 leash up the cookiemonster (cookie eviction should be in lastaccessed order, bug 403372). r=sdwilsh, sr=shaver. also includes unnecessary code removal fix by Marco Bonardo (mak77@supereva.it), bug 403767. 2007-11-16 18:54:51 -08:00
neil@parkwaycc.co.uk
9a9c281154 Bug 397238 Expose cookie import code so that profile migration doesn't have to duplicate it r=dwitte sr=biesi a=mtschrep 2007-11-12 01:28:22 -08:00
dwitte@stanford.edu
1ad6eb2554 remove nsICookieServiceInternal. b=384990, r+sr=biesi 2007-06-26 03:41:58 -07:00
dwitte@stanford.edu
f03c281249 prevent creating, modifying, and deleting HttpOnly cookies from web content, and add unit tests to that effect. b=383181, r+sr=dveditz 2007-06-26 01:36:50 -07:00
dwitte@stanford.edu
e55450dea9 remove p3p hooks from cookies. b=383994, r=timeless, sr=biesi 2007-06-20 22:17:08 -07:00
dwitte@stanford.edu
7e8c0cc18e switch cookies over to mozStorage. b=230933, r=sdwilsh, sr=mconnor.
remove nsInt64 usage from cookies, b=384225, r+sr=biesi.
2007-06-17 14:52:22 -07:00
dwitte@stanford.edu
29ca525e36 implement CountCookiesFromHost() in cookie backend for perf reasons, and update consumers to use it.bug 379239, r=mvl, sr=biesi 2007-05-05 14:09:54 -07:00
dbaron@dbaron.org
a7d9802f77 Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg 2007-03-27 08:34:59 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00