Commit Graph

55 Commits

Author SHA1 Message Date
Emanuel Hoogeveen
b30abdc582 Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Birunthan Mohanathas
1da5b2d71a Bug 869836 - Part 1: Use EqualsLiteral instead of == NS_LITERAL_STRING(...). r=ehsan 2014-05-22 06:48:50 +03:00
Ehsan Akhgari
a1ae335490 Bug 917266 - Remove some unneeded code in netwerk/; r=mcmanus 2013-09-17 12:38:55 -04:00
Isaac Aggrey
df5a7d83f1 Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan 2012-09-28 14:55:23 -05:00
Randell Jesup
3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
243c878d26 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ms2ger
1127c1998c Bug 605180 - Fix build warnings in netwerk/. r=jduell 2012-04-07 14:25:00 -07:00
Mark Banner
b4dcced098 Bug 557047 - Replace mailnews specific ifdef (MOZ_MAIL_NEWS) in cookie code with tests for a protocol flag. r=sdwilsh,sr=bzbarsky 2011-12-05 12:35:23 +00:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Adam Barth
44a77d7f5d Bug 610218 - Quotes in "path" for Set-Cookie are taken literally; r=dwitte 2011-04-14 15:58:42 -04:00
Dan Witte
c95f9338cc Fix bug 616264. r=ehsan,sdwilsh, a=beta9+ 2010-12-22 13:50:56 -08:00
Dan Witte
3dc8e1b385 Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 5: Replace expired cookies eagerly, and make expired cookies visible in API results. r=sdwilsh, a=betaN+ 2010-10-19 17:24:53 -07:00
Dan Witte
ca6024af55 Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 2: add triple index. r=sdwilsh, a=betaN+ 2010-10-19 17:24:52 -07:00
Dan Witte
6a55bacdc3 Back out all cookie changes due to bug 602746. a=omgeverythingisbroken 2010-10-07 19:02:30 -07:00
Dan Witte
c634373870 Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 2: add triple index. r=sdwilsh, a=beta8+ 2010-10-07 14:00:17 -07:00
Dan Witte
6b4802f627 Remove unnecessary sleep(). No bug, test-only. 2010-09-16 13:21:12 -07:00
Dan Witte
7aba327b29 Manually set per-host limit in TestCookie. 2010-09-01 23:52:55 -07:00
Dan Witte
a99ca7dc28 Remove unnecessary stripping of quotes prior to calling PR_ParseTimeString. b=542974, r=abarth 2010-02-10 12:22:49 -08:00
Dan Witte
8476ad8925 Fix failing test. 2010-02-09 15:42:44 -08:00
Adam Barth
daf75f8271 Bug 542974 - Make the cookie parser's handling of " characters more like IE. r=dwitte 2010-02-09 13:07:16 -08:00
Adam Barth
c61e05259e 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
4e0317275d Bug 444600 - (cookiemonster2) Cookies go missing after a few days. r=sdwilsh, sr=mconnor 2009-12-15 14:21:28 -08:00
Mark Banner
d5476947c5 Bug 501925 Change cookie policy to relax the mailnews-specific APP_TYPE_MAIL requirement. r=Neil,r=dwitte,sr=dmose 2009-09-02 09:42:53 +01:00
Dan Witte
f671d16073 Backed out changeset d6a5afef5837 2009-03-16 01:33:54 -07:00
Dan Witte
d0820e45f2 Bug 444600 - (cookiemonster2) Cookies go missing after a few days. r=sdwilsh, sr=mconnor 2009-03-15 21:38:56 -07:00
Chris Double
ee8a8ce44e Backed out changeset 98381f8c8e08 due to test failure 2009-03-05 23:19:14 +13:00
Dan Witte
2ee9a9e3bc 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
a7ef46aaa9 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
e7f35b07b4 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
129e7fae81 Bug 421494 - reimplement third party cookie blocking. r=mconnor, sr=bz, blocking1.9+ 2008-03-12 00:53:50 -07:00
8bc9c4814e add tests for bug 385299. 2007-12-04 18:45:40 -08:00
4d96281bda relanding bug 385299 and updating tests. 2007-12-04 16:03:22 -08:00
716349aa34 backing out the kitchen sink. 2007-11-19 02:15:55 -08:00
873ec94587 temporarily disabling tests. 2007-11-18 23:08:46 -08:00
974ac301e1 relanding modified patch for bug 403372. 2007-11-18 00:08:34 -08:00
8dbb6b8c62 Back out dwitte's cookie monster patch (bug 403372) due to Tp regression. 2007-11-17 01:49:18 -08:00
d021d9c05c fix test. 2007-11-16 23:07:24 -08:00
9ff89e0b25 relanding bug 403372. 2007-11-16 22:08:10 -08:00
6e04f7576c add cookie tests for creation time ordering and eviction. 2007-07-16 14:06:55 -07:00
1fb4d15780 add unit tests for previous checkin. 2007-07-10 20:28:01 -07:00
37700a1d00 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
63f3d89781 missed this file in previous checkin. 2007-06-17 17:01:10 -07:00
2c3e07c5d6 unit test for new cookie path checks, per bug 373228. 2007-05-07 04:40:23 -07:00
d9e00531e9 add nsICookieManager{2} interface tests. 2007-05-05 18:31:06 -07:00
mkaply@us.ibm.com
5c9783198d Bug 178993 - r=sayrer - Unit testcase for httponly 2007-03-14 17:16:51 +00:00
darin@meer.net
88f9c885f8 fixes bug 338332 "netwerk/test/TestCookie logic error?" patch by davel, r=darin 2006-06-22 22:22:44 +00:00
benjamin@smedbergs.us
3309e91dad Bug 327168 - test holds COMPtrs past XPCOM shutdown, r=darin 2006-02-14 19:39:52 +00:00