Commit Graph

133 Commits

Author SHA1 Message Date
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
Mitchell Field
9818f00bf2 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Dan Witte
6758ee6265 Bug 565475 - Allow 3rd party cookies for session only. r=sdwilsh
--HG--
rename : extensions/cookie/test/unit/test_cookies.js => extensions/cookie/test/unit/test_cookies_thirdparty.js
2010-05-27 14:38:43 -07:00
Dan Witte
cfbcff4a14 Bug 541356 - session lost after restart. Part 2: Don't batch in AddInternal(). r=sdwilsh 2010-05-25 15:00:44 -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
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
d4bd559e72 backing out the kitchen sink. 2007-11-19 02:15:55 -08:00
dwitte@stanford.edu
3c7720c189 still investigating mac Tp impact. 2007-11-19 01:08:07 -08:00
dwitte@stanford.edu
587df3075f back out change. 2007-11-18 23:26:36 -08:00
dwitte@stanford.edu
c9db978573 investigating orange. 2007-11-18 22:41:53 -08:00
dwitte@stanford.edu
706d788fab relanding modified patch for bug 403372. 2007-11-18 00:08:34 -08:00
dwitte@stanford.edu
539f79ae83 relanding teeny tiny part of patch to investigate Tp impact 2007-11-17 03:05:01 -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
dwitte@stanford.edu
af89b9cfcd updating comment to address review comments in bug 397238. 2007-11-13 17:36:54 -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
fdb7f13e8a Bug 402395 - Dangling semi-colon caused when "ac_add_options --disable-logging" throws warning in VS2005. patch by Masayuki Nakano (masayuki@d-toybox.com), r=dwitte, sr=bsmedberg, a=beltzner for M9. 2007-11-05 11:29:12 -08:00
dwitte@stanford.edu
50bafc5659 bustage fix for bug 401998. 2007-11-02 19:15:47 -07:00
dwitte@stanford.edu
ad951d770a add logging coverage for cookie eviction and db operations. b=401998, r+sr=mconnor, a=beltzner 2007-11-01 15:34:16 -07:00
dwitte@stanford.edu
fdeb6309d5 fix debug compile error in nsCookie.h. b=394243, r+sr=biesi, a=mconnor 2007-10-04 12:24:00 -07:00
dwitte@stanford.edu
1bba2a6417 tweak documentation for countCookiesFromHost. b=394460, npob. 2007-09-03 19:07:23 -07:00
sdwilsh@shawnwilsher.com
0337ffd116 Bug 389575 - Add WARNINGS_AS_ERRORS compile time flag. r=bsmedberg NPOTFB. 2007-08-28 09:02:43 -07:00
dwitte@stanford.edu
88b3d4896c Use getters and setters for database schema version. b=386369, p=sdwilsh, r=dwitte, sr=biesi. 2007-07-16 14:05:35 -07:00
dwitte@stanford.edu
31d7ad3b22 web content can set httponly cookie by overwriting a non-httponly one. b=387543, p=dveditz, r=dwitte, sr=mconnor. 2007-07-10 20:21:07 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07: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
1543d48f1b removing redeclaration, r+sr+ui-r+a=sdwilsh 2007-06-25 22:28:25 -07:00
dwitte@stanford.edu
8afd980244 fix typo from storage checkin. 2007-06-25 22:10:33 -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
703d65b306 rev nsICookieManager2 interface to allow adding httpOnly cookies, and update consumers to match. b=379408, r+sr=biesi. 2007-06-17 16:40:40 -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
dveditz@cruzio.com
f6877b70d3 bug 373228 incorporate additional review comments after initial checkin, r=dwitte, a=release-drivers 2007-05-07 04:14:01 -07:00
dwitte@stanford.edu
ec6657c4bd tweak some comments to reflect the changes in bug 240963. 2007-05-05 18:29:44 -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
dveditz@cruzio.com
26ebf9833f bug 373228 prevent cookies with long paths from taking too much space, r=dwitte, a=juanb 2007-05-01 01:14:49 -07:00
dwitte@stanford.edu
ce9b9bdb62 comment sp fix. 2007-04-29 00:52:23 -07:00
benjamin@smedbergs.us
2e25a321f8 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
gijskruitbosch@gmail.com
e27f89009b Bug 375488 - HttpOnly Cookies broken (exchanged httponly and secure arguments in function call)
p=ronny.perinke@gmx.de (Ronny Perinke)
r=mozilla@kaply.com
sr=darin.moz@gmail.com (Darin Fisher)
2007-03-27 10:34:12 -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