Commit Graph

169 Commits

Author SHA1 Message Date
Chris Jones
574b849ecd Followup to bug 541131: update |include protocol "PFoo.ipdl"| usages in e10s. 2010-04-27 02:12:38 -05:00
Josh Matthews
f432757fa9 Bug 541174 - e10s HTTP: Improve how URIs are serialized (part3). r=dwitte 2010-04-17 12:26:36 +09:30
Dan Witte
90b6b20cf2 Bug 537156 - [e10s] Implement cookies. r=jduell,sdwilsh; sr=bz 2010-03-25 16:02:28 -07:00
Shawn Wilsher
669c5430f9 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
6b282c76f6 Backing out bug 536978, due to a Storage assertion causing orange. CLOSED TREE 2010-03-12 17:41:28 +01:00
Shawn Wilsher
5f9bed4706 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
a081d5eeed Remove unnecessary stripping of quotes prior to calling PR_ParseTimeString. b=542974, r=abarth 2010-02-10 12:22:49 -08:00
Adam Barth
10b31fba6c 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
d55818f5b3 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
b1750841d1 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
c34c2d49d8 Bug 536230 - Crash or Hang @ [nsCookieService::RemoveCookieFromList(nsListIter const&)]. r=sdwilsh 2009-12-22 14:54:26 -08:00
Dan Witte
875574d3ff Whitespace change to force rebuild. 2009-12-19 22:12:06 -08:00
Dan Witte
a2da93319e 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
04a3ac83b6 Bug 444600 - (cookiemonster2) Cookies go missing after a few days. r=sdwilsh, sr=mconnor 2009-12-15 14:21:28 -08:00
Myk Melez
60bc2871ac 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
44267422bf 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
4d89c9378b Back out bug 526789 to see if it's the cause of mochi orange. 2009-11-17 15:16:44 -08:00
Dan Witte
7c8602993f 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
f97b51aefb Backed out changeset a696d331ebf7 (bug 526789) for test failures 2009-11-09 19:45:23 -08:00
Dan Witte
e9f7ee50f8 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
580ef7cac5 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
bc99ddf1b7 tweak assertion. 2009-10-16 16:50:57 -07:00
Dan Witte
ef10227832 fix bustage. 2009-10-16 14:26:00 -07:00
Dan Witte
5abb9677f6 Bug 481775 - Crash in [@ nsCookieService::RemoveCookieFromList(nsListIter&)]. r=sdwilsh 2009-10-16 14:01:47 -07:00
Benjamin Smedberg
ba372f3a4c 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
73a268beee Bug 423132 - speed up sessionstore cookie bits. r=dietrich, sr=mconnor 2009-07-15 17:57:29 -07:00
Dan Witte
b0e5d90925 Backed out changeset d6a5afef5837 2009-03-16 01:33:54 -07:00
Dan Witte
b3267037da Bug 444600 - (cookiemonster2) Cookies go missing after a few days. r=sdwilsh, sr=mconnor 2009-03-15 21:38:56 -07:00
Chris Double
025be432dd Backed out changeset 98381f8c8e08 due to test failure 2009-03-05 23:19:14 +13:00
Dan Witte
ef83e1d68c 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
53027c35dd Bug 474369 - get rid of nsVoidArray; netwerk part, v2; r=cbiesinger 2009-02-23 02:05:28 +01:00
Dan Witte
2ccb6d7c66 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
10964e31f4 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
c037bae33d bug 468744 - finalize sqlite statements before closing db to avoid sqlite warnings; r=sdwilsh 2008-12-10 15:54:57 -08:00
Ehsan Akhgari
0957dd9350 Change the IDL comment to specify microseconds for bug 411952 2008-11-01 01:06:23 +03:30
Ehsan Akhgari
d59b7462e0 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
2b72bfb314 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
1b7a5323d9 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
c72ef7d248 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
02c78fb57e Bug 455598 - nsICookieManager2.cookieExists incorrectly assumes a nsCookie param; r=dwitte sr=bzbarsky 2008-09-17 15:30:47 +02:00
timeless@mozdev.org
eb6e3834b8 Bug 455035 Crash shutting down in cookie code
r=dwitte sr=biesi
2008-09-14 03:32:14 +02:00
Shawn Wilsher
3f8d1c3762 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
c6ee2db163 open cookie db unshared and exclusive - bug 449987. r=dwitte 2008-08-17 21:05:54 -07:00
Bobby Holley
d54c603727 Bug 449986 – profile-before-change should close cookie db connection. r=dwitte 2008-08-11 22:14:15 -07:00
Vladimir Vukicevic
78117dad83 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
5f32285909 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
a950b3f8c1 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
079a39dbb9 fix followup review comments from bug 421494. r=mconnor, sr=bz 2008-03-16 02:30:29 -07:00
dwitte@stanford.edu
85e49a64d5 Bug 421494 - reimplement third party cookie blocking. r=mconnor, sr=bz, blocking1.9+ 2008-03-12 00:53:50 -07:00
dwitte@stanford.edu
6c89e2e980 Bug 404225 - improve nsCookieService::GetEnumerator() performance. r+sr+a=shaver 2008-03-08 01:47:23 -08:00