Closed
Bug 176181
Opened 23 years ago
Closed 23 years ago
network.cookie.enableForCurrentSessionOnly doesn't work
Categories
(Firefox :: Settings UI, defect)
Tracking
()
VERIFIED
FIXED
Phoenix0.4
People
(Reporter: thieleke, Assigned: hyatt)
Details
Attachments
(1 file)
|
891 bytes,
patch
|
Details | Diff | Splinter Review |
Using the current CVS code.
Steps to reproduce:
1. Go to preferences, enable cookies and enable for the current session options.
2. Remove All Cookies.
2. Go to a site that sets persistant cookies (e.g. www.cnn.com).
3. Exit Phoenix.
4. Start Phoenix and notice that there are cookies present.
I only have the two cookie related prefs in my prefs.js file:
user_pref("network.cookie.enableForCurrentSessionOnly", true);
user_pref("network.cookie.enableForOriginatingWebsiteOnly", true);
| Reporter | ||
Comment 1•23 years ago
|
||
This bug is caused by a thinko in COOKIE_RegisterPrefCallbacks, introduced in
Blake's Oct 19 nsCookies.cpp v1.86 check-in.
cookie_SetLifetimePref(forCurrentSession ? COOKIE_Normal : COOKIE_Trim);
should obviously be:
cookie_SetLifetimePref(forCurrentSession ? COOKIE_Trim : COOKIE_Normal);
| Reporter | ||
Comment 2•23 years ago
|
||
Since this is a major regression and the fix is so simple, nominating for 0.4.
Target Milestone: --- → Phoenix0.4
Comment 3•23 years ago
|
||
It's not really a "regression" since I was fixing/implementing this among other
cookie prefs, but thanks -- I'll look into it.
| Reporter | ||
Comment 4•23 years ago
|
||
> It's not really a "regression" since I was
> fixing/implementing this among other
> cookie prefs, but thanks -- I'll look into it.
The loss of "current session only cookies" functionality is the regression from
prior versions of Phoenix, not the code change itself.
Prior to the Oct 19th check-in, it was possible to have all cookies expire at
the end of the session, using the Mozilla-style cookie prefs. After Oct 19th,
there is no way to limit the cookie lifetime to the current session.
| Assignee | ||
Comment 6•23 years ago
|
||
Fixed.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•