(I don't know why but my reply won't show up. So I'm posting the same thing here.)
So I made more research and made my question simpler.
FYI I reseted my firefox and sinc… (read more)
(I don't know why but my reply won't show up. So I'm posting the same thing here.)
So I made more research and made my question simpler.
FYI I reseted my firefox and since then I've changed settings only via about:preferences and user.js.
Situation A:
(1) Set these preferences.
- permissions.default.geo =2
- network.cookie.lifetimePolicy =0
- privacy.sanitize.sanitizeOnShutdown =true
(2) Go to https://www.jma.go.jp/jp/highresorad/index.html
- You'll see a pop-up message that says "位置情報を取得できませんでした。".
(3) Check the box down below (今後このメッセージを表示しない。), and close that message. Then press f5.
- You'll see that the pop-up message won't show up anymore.
(4) Open a new tab. Then close the previous tab. Revisit the site.
- You'll see that the pop-up message doesn't show up.
(5) Close all Firefox windows. Then open Firefox and visit the site.
- Expected: The cookies should have deleted. The pop-up message will show up.
- Actual Result: The pop-up message doesn't show up.
(6) Do Ctrl-Shift-Delete. Then press F5.
- You'll see the pop-up message shows up this time.
Situation B:
(1) Set these preferences.
- permissions.default.geo =2
- network.cookie.lifetimePolicy =2
- privacy.sanitize.sanitizeOnShutdown =true
(2) Go to https://www.jma.go.jp/jp/highresorad/index.html
- You'll see a pop-up message that says "位置情報を取得できませんでした。".
(3) Check the box down below (今後このメッセージを表示しない。), and close that message. Then press f5.
- You'll see that the pop-up message won't show up anymore.
(4) Open a new tab. Then close the previous tab. Revisit the site.
- Expected: You'll see that the pop-up message doesn't show up.
- Actual Result: You'll see that the pop-up message does show up.
(5) Close all Firefox windows. Then open Firefox and visit the site.
- You'll see that the pop-up message shows up.
(6) Do Ctrl-Shift-Delete. Then press F5.
- You'll see the pop-up message shows up this time.
(Original post below.)
Hello.
(Sorry about messy English.)
(1) I set preferences as below.
network.cookie.lifetimePolicy =0 (accept cookies normally)
privacy.clearOnShutdown.* =true (define what data is cleared when Firefox is closed)
privacy.sanitize.sanitizeOnShutdown =true (make Firefox clear the data when it's closed)
These settings should make Firefox clear all my cookies when closed. But Firefox kept some of it. Firefox cleared the login state, but some site data such as volume control on Nicovideo's video player were kept.
That means when you login to the site and watch a video at 17% volume, then close Firefox without clicking the logout link, reopen the same page, you'll see yourself logged out, but when you login to the site, you'll see the volume is set to 17% on the video player, not default 100%.
(2) Now I changed one setting.
network.cookie.lifetimePolicy =2 (cookies are now for current session only)
This didn't work as intended either. Firefox sure cleared all the cookies, but it did in a weird way. The login states were working as intended. But some site data are not sheared between tabs.
That means when you watch a video at 27% volume and close the tab, then revisit the same page, you'll see the volume on the video player is now set to the default 100%.
(3) And finally I found the one caused this.
dom.ipc.processCount =1 (Firefox must run on a single process)
network.cookie.lifetimePolicy =2 (same)
privacy.sanitize.sanitizeOnShutdown =true (same)
I honestly don't understand why this works, but this way everything seems to be working properly. All cookies are sheared between tabs and they are cleared when Firefox is closed.
My question is:
(a) Why did this happen?
Especially the situation (1) makes no sense to me. Why Firefox left some cookies when I told it to clear the cookies on shutdown?
(b) Is there any way to share data between processes?
I don't want my Firefox to be single-processed slow browser.
Thanks.