Commit Graph

93 Commits

Author SHA1 Message Date
dwitte@stanford.edu
e53b738eb3 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
d4eda07129 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
6d7584839a 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
bb15ff449a remove nsICookieServiceInternal. b=384990, r+sr=biesi 2007-06-26 03:41:58 -07:00
dwitte@stanford.edu
c9d4ef4c68 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
22d4d91046 removing redeclaration, r+sr+ui-r+a=sdwilsh 2007-06-25 22:28:25 -07:00
dwitte@stanford.edu
ed30e5a43f fix typo from storage checkin. 2007-06-25 22:10:33 -07:00
dwitte@stanford.edu
b28806e2c6 remove p3p hooks from cookies. b=383994, r=timeless, sr=biesi 2007-06-20 22:17:08 -07:00
dwitte@stanford.edu
341f5cae54 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
5493e24575 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
ca4bb32d44 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
7d5736dc1b tweak some comments to reflect the changes in bug 240963. 2007-05-05 18:29:44 -07:00
dwitte@stanford.edu
1852ac4c86 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
79bb329675 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
80c3bd2a8a comment sp fix. 2007-04-29 00:52:23 -07:00
benjamin@smedbergs.us
baab01ada6 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
938a7c96af 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
e7bb1b1c38 Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg 2007-03-27 08:34:59 -07:00
hg@mozilla.com
05e5d33a57 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
mkaply%us.ibm.com
a6d931b748 Bug 178993 -patch from robert sayre and others - r=bsmedberg, dveditz, mvl, sr=darin - add HTTPOnly support 2007-03-14 17:22:01 +00:00
sayrer%gmail.com
3d6d15d00a Backout unfinished patch for bug 178993. 2007-03-02 03:51:30 +00:00
mkaply%us.ibm.com
e82b1fc2f1 #178993
r=bsmedberg, dveditz, mvl
Add support for httpOnly cookie attribute
2007-03-01 20:09:02 +00:00
martijn.martijn%gmail.com
703aa75d3b Bug 346125 � Broken link to Netscape Cookie Specification page in cookies.txt file, patch by Robert Millan, r=bzbarsky 2007-02-08 16:46:28 +00:00
darin%meer.net
39e548c9e1 fixes bug 240201 "remove [noscript] from nsICookieManager2::add" r+sr=bzbarsky 2006-02-23 02:08:27 +00:00
mconnor%steelgryphon.com
7be090cdfd bug 306658 - disallow cookies from non-file URIs without
hostnames, r=dwitte, sr=darin
2005-10-01 05:20:21 +00:00
timeless%mozdev.org
ce896f0683 Bug 308573 use if (NS_FAILED(...)) instead of if NS_FAILED(...)
patch by joshbirnbaum-moz@yahoo.com r=darin sr=darin
2005-09-15 18:30:46 +00:00
bsmedberg%covad.net
81d0f2e5c0 Bug 295994 part 1 - add cookieservice accessors for individual cookies by name, obeying privacy preferences (second try, I reversed the string logic in nsCookieService::SetCookieInternal the first time - r=dwitte+darin 2005-09-15 11:03:09 +00:00
bsmedberg%covad.net
ba35d6749a Backout bug 295994 due to tinderbox orange. 2005-09-14 20:17:13 +00:00
bsmedberg%covad.net
237d89b23c Bug 295994 part 1 - add cookieservice accessors for individual cookies by name, obeying privacy preferences r=dwitte+darin 2005-09-14 18:27:56 +00:00
cbiesinger%web.de
44625301dd bug 283489 r=darin sr=bz
- Make the HTTP, FTP and file channels implement nsIPropertyBag2 and associated
  interfaces (by inheriting from nsHashPropertyBag)
- Use that interface to expose a "content-length" property giving the length of
  the data as a 64-bit value on the FTP and HTTP channels
- change docshell and xpinstall to use nsIPropertyBag2 instead of nsIProperties
  to read/write the referrer property
2005-04-05 17:40:32 +00:00
bsmedberg%covad.net
361daac936 Bug 281414 - global s/nsIPrefBranchInternal/nsIPrefBranch2/ rs=darin (did not change backwards-compatible code in extensions/irc extensions/venkman or extensions/inspector) 2005-02-25 20:46:35 +00:00
bryner%brianryner.com
67dba23ae4 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron. 2005-02-03 23:01:54 +00:00
dwitte%stanford.edu
1d185f2e97 make p3p cookie icon not appear for rejected cookies, only for flagged/downgraded ones; and remove some deprecated notification fu.
b=212778, r+sr=darin
2005-01-24 06:53:18 +00:00
dwitte%stanford.edu
a708472c84 fix handling of quoted token values.
b=277033, r=mvl, sr=darin
2005-01-24 06:47:44 +00:00
bsmedberg%covad.net
79241940e8 Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees. 2004-12-09 19:28:35 +00:00
cbiesinger%web.de
f31ccc73eb Bug 260659 cookies use static string objects
r=dwitte sr=darin
2004-09-21 11:58:49 +00:00
dwitte%stanford.edu
4fb8109457 fix topcrasher bug 252289, r=mvl sr=darin 2004-07-21 22:03:21 +00:00
dwitte%stanford.edu
dee773b6e5 make cookie & permission files non-world-readable.
b=59557, patch by Pavel Kankovsky (peak@argo.troja.mff.cuni.cz), r=dwitte, sr=bz.
2004-07-20 07:27:28 +00:00
dwitte%stanford.edu
bdf2a2307d sprinkle some asserts, and remove redundant #include. 2004-07-19 23:38:35 +00:00
dwitte%stanford.edu
e338583f48 rename nsISafeFileOutputStream to nsISafeOutputStream, and make nsBufferedOutputStream aware of it, to make life easier on consumers.
b=251648, r=biesi, sr=darin, with thanks to darin and bz for suggestions.
2004-07-19 22:00:03 +00:00
dwitte%stanford.edu
8ad2e8e431 add --disable-cookies build option.
b=221885, r=bsmedberg, r+sr=darin
2004-07-19 04:57:02 +00:00
dwitte%stanford.edu
bd8bee85d7 quick fix to get cookie/permission file saving working on trunk again, while we hash out a real fix.
b=251648, r+sr=darin
2004-07-16 20:08:08 +00:00
dwitte%stanford.edu
76c59a7697 add Finish() method to nsISafeFileOutputStream, and tweak things slightly.
b=251091, r=mvl, sr=darin
2004-07-15 05:52:37 +00:00
dwitte%stanford.edu
0cfd07b69e comment typo fix. 2004-07-12 09:20:55 +00:00
mvl%exedo.nl
5229c8ccbb create a non-overwriting file output stream
bug 246675, r=biesi, sr=darin
2004-07-06 20:35:40 +00:00
dwitte%stanford.edu
91efac3a92 removing unnecessary #include. 2004-06-26 20:52:14 +00:00
cbiesinger%web.de
8a5d56f052 oops. fixing bustage. 2004-06-26 18:47:01 +00:00
dwitte%stanford.edu
4b69710df2 fixing an erroneous comment. 2004-06-19 23:57:45 +00:00
roc+%cs.cmu.edu
0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
darin%meer.net
434cae41e9 fixes bug 236772 "Sprint Local Bill Redirection Limit Exceeded" r=dwitte sr=dveditz 2004-06-07 14:54:22 +00:00