Closed Bug 903752 Opened 11 years ago Closed 4 years ago

Keep cookies until i close firefox doesn't work

Categories

(Core :: Networking: Cookies, defect, P3)

23 Branch
x86_64
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1422365

People

(Reporter: scrap, Unassigned)

Details

(Whiteboard: [necko-backlog])

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 (Beta/Release)
Build ID: 20130807125214

Steps to reproduce:

1. Visit websites to populate cookies
2. Set Preferences > Privacy >... > Keep cookies : until i close firefox
3. Restart Firefox
4. Check for cookies

Linux, Fedora 19:
Firefox 23, clean install (with .mozilla folder deleted)
Firefox 23
Firefox 22

Informational - it also doesn't work on my Windows Vista computer at work:
Firefox 23
Firefox 22


Actual results:

Cookies are still there


Expected results:

Cookies deleted
Component: Untriaged → Networking: Cookies
Product: Firefox → Core
Could you give a precise series of steps you take (including websites that you visit)? I can't reproduce this in Nightly on Fedora 18; I create a new profile in /tmp/cookiecheck, run `firefox -p /tmp/cookiecheck`, set my privacy settings to clear cookies on exit, visit google.com, view the cookies that exist, then reopen Firefox. The cookie viewer is now empty for me.
Flags: needinfo?(rimbotede)
Sorry, that should be -profile, not -p.
The steps are there in the first post. I don't understand(In reply to Josh Matthews [:jdm] (unavailable until 8/18) from comment #1)
> Could you give a precise series of steps you take (including websites that
> you visit)? I can't reproduce this in Nightly on Fedora 18; I create a new
> profile in /tmp/cookiecheck, run `firefox -p /tmp/cookiecheck`, set my
> privacy settings to clear cookies on exit, visit google.com, view the
> cookies that exist, then reopen Firefox. The cookie viewer is now empty for
> me.

The steps are there in the first post. I don't understand why you brought up a nightly build. The bug has been reported against Firefox 23 stable.
Flags: needinfo?(rimbotede)
In that case, could you try a Nightly build and see whether you can reproduce the problem?
Flags: needinfo?(rimbotede)
Confirmed with Nightly 26.0a1 (2013-08-11). I used ./firefox-bin -p and created/selected testing profile in the GUI. /tmp/coo2, if it matters.

Note1: 'Clear history when Firefox closes' with only Cookies selected works as expected.
Flags: needinfo?(rimbotede)
Your note confuses me - could you report precisely which options are checked and unchecked on the privacy pane when you can reproduce this issue in a nightly build, please?
Flags: needinfo?(rimbotede)
(In reply to Josh Matthews [:jdm] from comment #6)
> Your note confuses me - could you report precisely which options are checked
> and unchecked on the privacy pane when you can reproduce this issue in a
> nightly build, please?

Note1 is a sidenote. Let's forget about it for now. The "Confirmed..." in comment 5 refers to the original bug report (description). Sorry for introducing the sidenote.
Flags: needinfo?(rimbotede)
I am still unable to reproduce the problem you report, which I find baffling. I open up a blank profile, then change the privacy options to use custom settings for history and keep cookies until I close Nightly. Next I visit google.com and bugzilla.mozilla.org, which generates cookies for bugzilla.mozilla.org, google.com, and google.ca. I then close Firefox and open it back up; all the cookies are cleared.
Flags: needinfo?(rimbotede)
(In reply to Josh Matthews [:jdm] from comment #8)
> I am still unable to reproduce the problem you report, which I find
> baffling. I open up a blank profile, then change the privacy options to use
> custom settings for history and keep cookies until I close Nightly. Next I
> visit google.com and bugzilla.mozilla.org, which generates cookies for
> bugzilla.mozilla.org, google.com, and google.ca. I then close Firefox and
> open it back up; all the cookies are cleared.
I can't comment on it, really. As I said I've confirmed it on Nightly. Using different websites, but including google. I feel I should highlight that after I modified the settings (keep cookies until I close) I restarted Nightly.

Of trivial matters - I confirmed that I actually used Nightly. Some different menu elements indicated Nightly. I mention this because on Linux it's easy to launch the usual version of Firefox instead of Nightly.
Flags: needinfo?(rimbotede)
If you could tell me the precise websites you visit, that might make a difference.
Flags: needinfo?(rimbotede)
(In reply to Josh Matthews [:jdm] from comment #10)
> If you could tell me the precise websites you visit, that might make a
> difference.
For my test with nightly: wp.pl, onet.pl, google.com, youtube.com 
Those I remember. I visited more.
Flags: needinfo?(rimbotede)
This is WFM against Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0 ID:20130910160258 CSet: 7c3b0732e765

* new Profile
* changed the Cookie Pref (i.e. network.cookie.lifetimePolicy;2)
* restart Firefox
* open the Sites of Comment 11 & checked set Cookies
* restart Firefox
* checked set Cookies

expected = actual: none

Some Information is clearly missing here.

Reporter: can you post the "Important Modified Preferences" Section of about:support with a Profile you get the Issue with?
Flags: needinfo?(rimbotede)
(In reply to XtC4UaLL [:xtc4uall] from comment #12)
> Reporter: can you post the "Important Modified Preferences" Section of
> about:support with a Profile you get the Issue with?
Flags: needinfo?(rimbotede)
Whiteboard: [necko-backlog]
I can reproduce this on latest Nightly with a clean profile by following the original steps. Comment 1 and comment 12 did not follow the order precisely, you need to collect cookies first, then change the setting to keep until close. This setting only affects new cookies so existing ones will be retained after close which is surprising/unexpected. 

I don't understand the purpose of this setting as it gives the false impression that all cookies will be cleared on close and this functionality is already covered by the "Clear history when Firefox closes->Cookies" setting which works as expected (with the exception of session cookies).
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P1
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P1 → P3

In the last 2 years, we have been working a lot on data-sanitization. See bug 1422365.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: