Page 1 of 1

Will ''clear history on exit' get synced to other profiles?

Posted: 2020-06-07, 13:34
by moonbat
I have a separate profile for testing that's synced to my regular one so I can share browser history and logins. I don't have any other addons on this, so if I set it to selectively wipe history on exit (cookies and cache, to get rid of tracking cookies and downloaded ads), will that setting affect my main profile as well?

Re: Will ''clear history on exit' get synced to other profiles?

Posted: 2020-06-07, 15:15
by adesh
moonbat wrote:
2020-06-07, 13:34
cookies and cache,
I don't think cookies and cache are synced.

Re: Will ''clear history on exit' get synced to other profiles?

Posted: 2020-06-07, 15:34
by moonbat
I mean the setting to clear them, not the actual cookies and cache.

Re: Will ''clear history on exit' get synced to other profiles?

Posted: 2020-06-07, 16:54
by adesh
For preferences, you can probably search about:config for "sync.prefs" and see if the preference is listed there.

Re: Will ''clear history on exit' get synced to other profiles?

Posted: 2020-06-07, 22:14
by Moonchild
cookies and cache are not synced. That would make no sense anyway (especially for cache! think about it...) since that is by definition local data, and the last thing you want to do is confuse session information by duplicating it across multiple browsers.
As for history... if you clear it on shutdown and you synchronize it as well, I think the history will get re-synched on next sync connection from the sync server (so it won't be cleared if you clear it on exit), but it shouldn't clear history from other linked browsers.
HOWEVER: If you want that testing setup to be without local history then deselect syncing history in sync preferences.

Re: Will ''clear history on exit' get synced to other profiles?

Posted: 2020-06-08, 05:04
by moonbat
Moonchild wrote:
2020-06-07, 22:14
As for history... if you clear it on shutdown and you synchronize it as well, I think the history will get re-synched on next sync connection from the sync server (so it won't be cleared if you clear it on exit), but it shouldn't clear history from other linked browsers.
Thanks. What I meant was since preferences are also synced, would that setting to clear on exit be also synced to main profile, since I don't want my main profile to clear history on exit, only this one?
I want to know if it is possible or makes sense that I have history synced with my main profile yet cookies/cache cleared when I exit the additional profile without also enabling clear on exit in the main profile.

Re: Will ''clear history on exit' get synced to other profiles?

Posted: 2020-06-08, 11:10
by Moonchild
Only a specific subset of preferences is synced (you wouldn't want to e.g. sync os-specific prefs).
All these preferences are in about:config as services.sync.prefs.sync.{name of pref} booleans. If not present, the pref won't be synced. If present, the pref will only be synced if set to "true".

So if you want to prevent that setting from being synced, set services.sync.prefs.sync.privacy.clearOnShutdown.history to false.

Re: Will ''clear history on exit' get synced to other profiles?

Posted: 2020-06-08, 11:51
by moonbat
Thanks :)

Re: Will ''clear history on exit' get synced to other profiles?

Posted: 2020-06-08, 13:42
by adesh
Off-topic:
I guess you missed my reply, moonbat! But yes, Moonchild's answer is more credible regarding sync.

Re: Will ''clear history on exit' get synced to other profiles?

Posted: 2020-06-08, 14:16
by moonbat
Off-topic:
adesh wrote:
2020-06-08, 13:42
I guess you missed my reply, moonbat! But yes, Moonchild's answer is more credible regarding sync.
You're right, saw it only now!