22 Commits

Author SHA1 Message Date
dwitte%stanford.edu
7ca6bd0344 Bug 421494 - reimplement third party cookie blocking. r=mconnor, sr=bz, blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@247607 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 07:53:58 +00:00
dwitte%stanford.edu
b716e582d6 switch cookies over to mozStorage. b=230933, r=sdwilsh, sr=mconnor.
remove nsInt64 usage from cookies, b=384225, r+sr=biesi.


git-svn-id: svn://10.0.0.236/trunk@228211 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-17 21:52:22 +00:00
dwitte%stanford.edu
ab10ea14f5 implement CountCookiesFromHost() in cookie backend for perf reasons, and update consumers to use it.
bug 379239, r=mvl, sr=biesi


git-svn-id: svn://10.0.0.236/trunk@225970 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 21:09:54 +00:00
bsmedberg%covad.net
fc4099e666 Bug 281414 - global s/nsIPrefBranchInternal/nsIPrefBranch2/ rs=darin (did not change backwards-compatible code in extensions/irc extensions/venkman or extensions/inspector)
git-svn-id: svn://10.0.0.236/trunk@169868 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 20:46:35 +00:00
darin%meer.net
e3117874fa fixes bug 261083 "Channels do not uniformly query their notification callbacks" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165373 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-15 20:16:52 +00:00
mconnor%myrealbox.com
8d6aabb517 Bug 238931: remove the magic number 8 (kill ALLOW_SESSION_ONLY const), r=dwitte, sr=darin, a1.7=asa, fix dwitte's folly by implementing the session perm value on nsICookiePermission
git-svn-id: svn://10.0.0.236/trunk@154603 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-07 23:27:02 +00:00
mconnor%myrealbox.com
787034e12b bug 233339 - rewrite CanSetCookie to reflect what dialogs now do, r=dwitte, sr=darin
git-svn-id: svn://10.0.0.236/trunk@153827 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 06:47:49 +00:00
bzbarsky%mit.edu
2a93163d15 Rework cookie dialogs to allow setting session-only cookies. Bug 230624, patch
by Mike Connor <mconnor@myrealbox.com>, r=mvl, sr=darin


git-svn-id: svn://10.0.0.236/trunk@152008 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 03:34:58 +00:00
bsmedberg%covad.net
824286124d Bug 232201 part 2 - update consumers to use inherited nsIPrefBranchInternal interface. This should be happy for codesize. r=alecf sr=darin
git-svn-id: svn://10.0.0.236/trunk@151994 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 23:45:17 +00:00
dwitte%stanford.edu
2808c2e18a mingw bustage fix. thanks stephend
git-svn-id: svn://10.0.0.236/trunk@149142 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-11 05:28:12 +00:00
dwitte%stanford.edu
54a6fac646 clean up some prefhandling code in nsImgManager/nsCookiePermission, to fix a bogus assert when mailnews prefs aren't available.
b=224339, r=caillon, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@149135 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-11 02:46:06 +00:00
dwitte%stanford.edu
55a5a686dc remove nsCCookieManager.h in favor of nsNetCID.h.
b=221886, r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@148522 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 02:59:31 +00:00
dwitte%stanford.edu
fdcedac1c9 make the cookie whitelist override the "limit cookie lifetime to session" pref. this allows the user to whitelist certain sites for setting permanent cookies, while non-whitelisted sites are downgraded to session cookies. also adds an "downgrade cookies from this site to session" permissionlist value, so now we have a whitelist/blacklist/sessionlist. (UI for this latter feature is not yet hooked up).
this also shifts a bunch of forked pref stuff out of the cookie backend and into an app-specific place, which is good for the GRE.

b=217286, r=mvl, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@148021 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-16 13:17:12 +00:00
dwitte%stanford.edu
424cd24516 refactor cookie prompting helper to where it belongs... this will increase perf a little, for the case where prompting is turned off.
b=220624, r=mvl, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@147862 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-11 00:06:13 +00:00
darin%meer.net
caa6b530dd landing last patch to separate cookie backend from permissions system, b=210561, r=dwitte, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@147853 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 21:23:44 +00:00
mvl%exedo.nl
2b39cc7aa4 Try the scheme if no host is found when showing a cookie dialog. bug 209689, r=dwitte, sr=darin
git-svn-id: svn://10.0.0.236/trunk@147838 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 15:08:43 +00:00
darin%meer.net
3baeff676e fixes bug 215460 "accept cookie dialog's '...all cookies from this site' checkbox does not always suppress further prompting" r=dwitte sr=bryner a=asa
git-svn-id: svn://10.0.0.236/trunk@146067 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-15 21:04:54 +00:00
stephend%netscape.com
37e12610c2 Spelling corrections that should've landed with the original patch for bug 184059
git-svn-id: svn://10.0.0.236/trunk@145493 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-02 18:17:55 +00:00
darin%meer.net
6103322ee1 fixes bug 184059 "cookperm.txt entries should override default cookie setting" patch=dwitte r=mvl sr=bz
git-svn-id: svn://10.0.0.236/trunk@145492 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-02 17:20:52 +00:00
dwitte%stanford.edu
9d62d39ae0 Bug 209475: Make nsIPermissionManager more flexible for extensions.
Changes nsIPermissionManager.idl to accept type strings rather than integers; this allows consumers to register unique types more easily, without fear of conflicting with an already-existing one.

Also fixes some bounds-checking fu (sr=bz on irc for those additional portions).

patch by mvl; r=dwitte, sr=bz.


git-svn-id: svn://10.0.0.236/trunk@144606 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-09 00:20:57 +00:00
cbiesinger%web.de
1f1970b7d2 198829 patch by mvl@exedo.nl r=dwitte@stanford.edu sr=dmose Blocking cookies does not remain persistent
git-svn-id: svn://10.0.0.236/trunk@140117 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-23 22:35:02 +00:00
bzbarsky%mit.edu
70156d33e8 Checking in permissions rewrite phase 1 (troop deployment in the permission
gulf).  Bug 191380, patch by mvl@exedo.nl (Michiel van Leeuwen),
r=dwitte@stanford.edu, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@140010 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 01:24:51 +00:00