Closed
Bug 67281
Opened 24 years ago
Closed 21 years ago
Pref: networking.cookie.* should not be in network
Categories
(Core :: Networking: Cookies, defect)
Core
Networking: Cookies
Tracking
()
VERIFIED
WONTFIX
People
(Reporter: timeless, Assigned: darin.moz)
References
Details
(Keywords: arch, embed, topembed-)
Attachments
(4 files)
2.99 KB,
patch
|
Details | Diff | Splinter Review | |
10.71 KB,
patch
|
Details | Diff | Splinter Review | |
12.61 KB,
patch
|
Details | Diff | Splinter Review | |
13.27 KB,
patch
|
Details | Diff | Splinter Review |
reason: they get timeless in trouble.
see #mozilla snipet:
[timeless] can anyone here blame me for putting network.cookie.* into a
network.js file?
<jag> yes
conclusion:
[timeless] then the cookies shouldn't be named network.*
<jag> I totally agree :-)
i'll attach a patch that replaces network.cookie.* with cookie.*
Comment 3•24 years ago
|
||
1. You also need to make the correction in the _elementIDs of
pref-cookies.xul.
2. While you are doing this, you should also fix up the following two prefs.
They are the image-manager equivalent of the two prefs you are fixing.
network.image.imageBehavior
network.image.warnAboutImages
If you make these two corrections, then r=morse
Comment 4•24 years ago
|
||
* proposing Mozilla0.9 as the target milestone
* adding embed keyword
Keywords: embed,
mozilla0.9
Comment 5•24 years ago
|
||
Mozilla 0.8 builds started today. We would consider taking reviewed low risk
fixes if they are available today (Wednesday, 7/Feb/01) or tomorrow (Thursday,
8/Feb/01). Otherwise, please set the target milestone to Mozilla 0.9. Thanks.
Comment 6•24 years ago
|
||
Comment 7•24 years ago
|
||
morse: Could you have a look at this new patch, please?
timeless: hope you don't mind me taking this :-)
Gerv
Assignee: timeless → gervase.markham
Status: ASSIGNED → NEW
Target Milestone: --- → mozilla0.9.1
Comment 8•24 years ago
|
||
I'm confused by this patch for the following reasons:
1. Patch includes obsolete file
xpfe/components/prefwindow/resources/content/Attic/pref-cookies.xul
2. Patch does not include the current version of that file
extensions/cookie/resources/content/pref-cookies.xul
3. For images patch does include the correct file
extensions/cookie/resources/content/pref-images.xul
but it does not fix the occurence of "network" in var _elementIDs
Comment 9•24 years ago
|
||
1 and 2: My tree is out of date, it would seem.
3: I messed up.
I'll sort it :-)
Gerv
Reporter | ||
Comment 10•24 years ago
|
||
wouldn't cookie.behavior be better? [yes i do have this sitting in my tree,
it's rotting w/ other cleanup]
Comment 11•24 years ago
|
||
That's not very clear... sadly, the pref is the wrong way round to call it
cookie.accept - how about cookie.reject ? 0 = Accept, 1 = NotForeign, 2=
RejectAll (I assume.)
Gerv
Comment 12•24 years ago
|
||
How about cookie.behavior. It's not a boolean so why try to name it as if it
were?
Comment 13•24 years ago
|
||
It just seems too vague. Changing cookie.cookieBehavior to cookie.behavior
doesn't seem like much of an improvement. How about cookie.rejectPolicy ? Or
cookie.acceptPolicy?
Gerv
Comment 14•24 years ago
|
||
On second thoughts, I don't care enough for it to keep this out of 0.9.1.
cookie.behavior (and image.behavior) it is.
Gerv
Comment 15•24 years ago
|
||
Comment 16•24 years ago
|
||
morse: Could you possibly have a look at this new attempt? Thanks :-)
Gerv
Comment 17•24 years ago
|
||
r=morse
Comment 18•24 years ago
|
||
No sr= before tree close; unless morse disagrees and says this is important, I'm
pushing it out to 0.9.2.
Gerv
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Comment 19•24 years ago
|
||
You won't hear any disagreement from me. Personally I think this is completely
unimportant.
Comment 20•24 years ago
|
||
cookieBehavior : warnAboutCookies :: imageBehavior : imageWarnAboutImages ?
Oops -- shouldn't the last be named warnAboutImages?
/be
Comment 21•24 years ago
|
||
Discussion moved to n.p.m.18n and n.p.m.ui.
Gerv
Comment 22•24 years ago
|
||
Comment 23•24 years ago
|
||
r=morse for nit-picking fix.
Comment 24•24 years ago
|
||
so what do you do about users who already have these prefs set? the image
blocking thing is one thing, but the cookies thing is compeletely different - a
user could have been using an earlier version (or migrated from a Netscape 4.x
browser) who had cookies disabled - suddenly they download 0.9.2 and their
browser is accepting cookies again, without them knowing it.
I'm personally wondering if this should be WONTFIX.
Comment 25•24 years ago
|
||
If they were using a pre-release, that's their lookout. If they are upgrading
from 4.x, I'm sure there's some pref name translating mechanism. If not, there
should be. Who should I be seeing about profile migration issues?
We cannot say "once a pref name is established, it never changes" - that's a
massive recipe for cruft in the prefs system. We are going to need some names to
change at some point, particularly if we write an "advanced pref editor" which
presents them in the form of a tree.
Hmm.
Gerv
Comment 26•24 years ago
|
||
you need to look in profile/pref-migrator and see how prefs are migrated from
4.x.. once you figure out what to add there, you need to land that change in
addition to the ones here.
Comment 27•24 years ago
|
||
I'm not going to get to this in the next 7 days.
Gerv
Target Milestone: mozilla0.9.2 → mozilla0.9.3
Comment 28•24 years ago
|
||
timeless: if this involves migration-fu, is it still worth doing?
Gerv
Reporter | ||
Comment 29•24 years ago
|
||
probably, besides you need to learn migration foo for bookmarks :-).
Comment 30•24 years ago
|
||
Well, then you'll need to point me at some docs or a knowledgeable person
because I can't make head or tail of it. I would have though there'd be a simple
text file: old name -> new name - but there doesn't seem to be.
Gerv
Comment 31•24 years ago
|
||
Doesn't look like this is getting fixed before the freeze tomorrow night.
Pushing out a milestone. Please correct if I'm mistaken.
Target Milestone: mozilla0.9.3 → mozilla0.9.4
Comment 32•24 years ago
|
||
After seeing this again, I have second thoughts and am withdrawing my r= from
these patches.
On the surface, this seems like a good thing to do for the sake of cleanliness.
But it will break all existing user profiles. Any user who upgrades his 6.01
browser to 6.1 will lose all his saved cookie preferences.
Comment 33•24 years ago
|
||
timeless - feel free to WONTFIX this, or fix it with migration-fu.
Gerv
Assignee: gervase.markham → timeless
Target Milestone: mozilla0.9.4 → Future
Comment 34•23 years ago
|
||
now that cookies are headed to their new home in the necko module, I wonder if
this bug becomes invalid?
Comment 36•23 years ago
|
||
minusing for topembed. I supsect this is actually invalid.
Comment 37•22 years ago
|
||
Bug 62755 was just made topembed+, can we take a look at this one and see if it
still warrants to be made invalid or need a fix? Making this one topembed+
since it blocks 62755 on paper.
Comment 38•22 years ago
|
||
recommend WONTFIX. Bug 210561 means this probably belongs wher it is.
Assignee: timeless → darin
QA Contact: tever → cookieqa
Summary: cookie pref names should not pollute network pref namespace → Pref: networking.cookie.* should not be in network
Comment 39•21 years ago
|
||
reopen this if you disagree, but this looks WONTFIX to me...
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WONTFIX
Target Milestone: Future → ---
Comment 40•21 years ago
|
||
indeed, thanks bsmedberg!
You need to log in
before you can comment on or make changes to this bug.
Description
•