-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Two windows are opened due to privacy.clearOnShutdown.openWindows #288
Comments
Weird you have to delete prefs.js. That shouldn't be. |
My bad, you're right I don't have to delete prefs.js. I always forget that settings in user.js are written into prefs.js and therefore deleting an entry in user.js doesn't undo it. |
Hello, this pref was introduced in https://hg.mozilla.org/mozilla-central/rev/dbd49d378c9b; along with
Even though there is no I will send a path to add Ref #231 |
@nodiscc as I said in arkenfox/user.js#45 where I went through the code that is still present |
You seem to imply that the value of this pref is not used anywhere in Firefox, but it is seems it is: https://dxr.mozilla.org/mozilla-esr45/source/browser/base/content/sanitize.js#77
|
That's not what I said. I said it is legacy (IMO). I went thru that code, all of it. Of course it is still in there, that's what legacy means. The point is it does nothing AFAIK in terms of clearing anything extra - think about it for a minute, you are shutting down or clearing data via CPD - it already clears all open windows. It has been suggested this was for controlling some session store, but I cannot find any evidence of that. The settings obviously do something because it triggers dual windows, but it does nothing to clear any additional data and to the best of my knowledge is a left-over relic -> legacy Maybe my definition of "legacy" is all screwed up |
When both of those are set it causes Firefox to open two windows upon the second time firefox is launched. It happens on Arch Linux and Ubuntu for me.
There seems to be a bug report about it: https://bugzilla.mozilla.org/show_bug.cgi?id=1334945
and arkenfox/user.js/issues/99
Even when I revert privacy.clearOnShutdown.openWindows I have to delete prefs.js to actually fix this problem. Otherwise it keeps on opening two windows for me.The text was updated successfully, but these errors were encountered: