Closed
Bug 221885
Opened 21 years ago
Closed 20 years ago
[minimo] add --disable-cookies build option
Categories
(Core :: Networking, defect)
Core
Networking
Tracking
()
RESOLVED
FIXED
People
(Reporter: darin.moz, Assigned: dwitte)
Details
(Keywords: fixed-aviary1.0)
Attachments
(4 files)
3.34 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
1.58 KB,
patch
|
darin.moz
:
review+
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
742 bytes,
patch
|
darin.moz
:
review+
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
638 bytes,
patch
|
darin.moz
:
review+
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
now that the cookie service has been moved into necko, we may want to add a
configure option to disable the building of cookies. thunderbird might want
this option (until it starts using the GRE), and other gecko embedders might as
well.
see bug 210561 for more info on the move from extensions/cookie to netwerk/cookie.
Comment 1•21 years ago
|
||
I would definetly be interested in leveraging such a flag for thunderbird.
Assignee | ||
Comment 2•21 years ago
|
||
looking ahead... right now, cookies will be operational in thunderbird
(presuming you don't have a cookies disabled pref in all.js). if/when
thunderbird uses the GRE, they will also be operational by default.
to fix this, you probably want to add the "network.cookie.cookieBehavior"
integer pref to all.js, and set it to 2 (disable). of course users could
override this pref, so if you really want to nuke cookies, you can make your own
implementation of nsICookiePermission that just blanket rejects everything. but
i would hope the pref is enough :)
Reporter | ||
Updated•21 years ago
|
Target Milestone: --- → mozilla1.6beta
Reporter | ||
Updated•21 years ago
|
Status: NEW → ASSIGNED
Target Milestone: mozilla1.6beta → mozilla1.7alpha
Comment 3•21 years ago
|
||
moving minimo bugs to the new bugzilla product.
Component: Networking → General
Product: Browser → Minimo
Target Milestone: mozilla1.7alpha → ---
Version: Trunk → unspecified
Assignee | ||
Comment 4•20 years ago
|
||
something a little like this?
(this unconditionally exports the public cookie headers - necko requires them.
is that ok?)
Assignee: darin → dwitte
Assignee | ||
Comment 5•20 years ago
|
||
... and with this, it actually works. thanks biesi.
(interesting flaw with ccache... it must've pulled nsNetModule.o from cache,
since nothing had apparently changed. it wont've known about the missing cookie
headers. caveat emptor).
Assignee | ||
Comment 6•20 years ago
|
||
er, nevermind that slur on ccache. pebcak.
Assignee | ||
Comment 7•20 years ago
|
||
since minimo doesn't have review flags... darin, feel free to look at this when
you have some time :)
Reporter | ||
Comment 8•20 years ago
|
||
-> Browser:Networking
Component: General → Networking
Product: Minimo → Browser
Version: unspecified → Trunk
Reporter | ||
Comment 9•20 years ago
|
||
Comment on attachment 152895 [details] [diff] [review]
supplement
r+sr=darin
Attachment #152895 -
Flags: superreview+
Attachment #152895 -
Flags: review+
Reporter | ||
Comment 10•20 years ago
|
||
Comment on attachment 152891 [details] [diff] [review]
patch
i think you need to declare NECKO_COOKIES in autoconf.mk.in so it will be seen
by the Makefiles.
otherwise, this patch looks good to me. you should get cls, bryner, or
bsmedberg to give final review for build changes.
Assignee | ||
Comment 11•20 years ago
|
||
ah! thanks, yeah, i didn't know about autoconf.mk.in. (i had temporarily
assumed the reason the makefiles weren't picking up the change was because i
hadn't regenerated |configure|).
Assignee | ||
Comment 12•20 years ago
|
||
Comment on attachment 152891 [details] [diff] [review]
patch
bsmedberg, could you take a look at these three patches? thanks!
Attachment #152891 -
Flags: review?(bsmedberg)
Comment 13•20 years ago
|
||
Comment on attachment 152891 [details] [diff] [review]
patch
>+[ --disable-cookies
>+ Disable cookie support],
You don't need this on two lines, that's only for configure options that are
too long
for a single line. Please condense.
Attachment #152891 -
Flags: review?(bsmedberg) → review+
Assignee | ||
Comment 14•20 years ago
|
||
condensed, and checked in. this will be needed on the aviary branch, per mscott
(http://bugzilla.mozilla.org/show_bug.cgi?id=250931#c1).
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Whiteboard: needed-aviary1.0
Assignee | ||
Comment 15•20 years ago
|
||
necko-config.h needs to know about NECKO_COOKIES too.
Reporter | ||
Comment 16•20 years ago
|
||
Comment on attachment 153344 [details] [diff] [review]
autoconf supplement
r+sr=darin
Attachment #153344 -
Flags: superreview+
Attachment #153344 -
Flags: review+
Reporter | ||
Comment 17•20 years ago
|
||
Comment on attachment 153642 [details] [diff] [review]
necko-config.h.in change
r+sr=darin
Attachment #153642 -
Flags: superreview+
Attachment #153642 -
Flags: review+
Assignee | ||
Updated•20 years ago
|
Keywords: fixed-aviary1.0
Whiteboard: needed-aviary1.0
Comment 18•20 years ago
|
||
dwitte - can you put this on 1.7 as well in case there is a minimo release from
there?
Thanks
Please mark fixed1.7.x when done.
You need to log in
before you can comment on or make changes to this bug.
Description
•