user.js: Can't set exceptions for cookies [solved: use FPI syntax + don't sanitize cookies on close in 2803]

Hello,

I’m wondering if I’m doing something bad, but I can’t set exceptions for cookies with the current user.js file. Or is it intended?

I’ve read the wiki, so I know that “We delete cookies and history (download, form and browsing histories) on close”; so I’ll try to explain what I don’t understand exactly (sorry for my bad english): wouldn’t it be better to set network.cookie.lifetimePolicy to 2 (this pref is commented in the user.js file for the moment) and privacy.clearOnShutdown.cookies to false, so that cookies would be deleted when Firefox is closed, but we could still set exceptions?

The current behaviour is: you can set an exception for cookies, but anyway all the cookies are deleted when Firefox is closed, so any exception is simply useless.

I’m surely missing something here, and hope I don’t bother anyone. Thanx for helping me, Best regards, Dupond

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 21 (14 by maintainers)

Commits related to this issue

Most upvoted comments

What bad could happen regarding cookies

toomanycookies

Did you link the wrong Bugzilla in your last comment

I did indeed. Now fixed. The linked comment was quoted underneath, so you didn’t miss much