When both privacy.clearOnShutdown.openWindows and privacy.sanitize.sanitizeOnShutdown are set to true, Firefox will launch 2 windows in all subsequent launches.
Categories
(Toolkit :: Data Sanitization, defect, P3)
Tracking
()
People
(Reporter: garycheng12, Assigned: johannh)
References
Details
(Whiteboard: [fixed by bug 1554167])
Comment 2•8 years ago
|
||
Comment 4•6 years ago
|
||
Vanilla Firefox profiles used. Options: custom settings for history, clear on shutdown (i.e privacy.sanitize.sanitizeOnShutdown = true), every option is ticked. Also with Ctrl-Shift-Del, every option is ticked, and set for all time.
Test1: privacy.clearOnShutdown.openWindows = true
- Windows:
- ESR60, FF60-66: problem still persists: for me the first window opens and closes as a second replaces it
- FF67-70: the problem no longer exists
- Linux (Mint)
- ESR60, FF68: no such problem seems to exist
Test2: privacy.cpd.openWindows = true
- note: I reset
privacy.clearOnShutdown.openWindowsto default false - Windows
- ESR60, FF60-70: open browser, open about:config, set pref to true, run ctrl-shift-del and clear everything, a second window opens
- Linux (Mint)
- ESR60, FF68: same problem
Conclusions:
- This issue (
privacy.clearOnShutdown) has been fixed since FF67 (assuming that Mac returns the same result) - The issue is not fixed when using manual sanitizing (
privacy.cpd), so whatever was done in FF67, could also be applied here: just re-title the ticket and re-purpose it
Comment 5•6 years ago
|
||
somewhere about here, I think: https://dxr.mozilla.org/mozilla-central/source/browser/modules/Sanitizer.jsm#561
let refObj = {};
TelemetryStopwatch.start("FX_SANITIZE_OPENWINDOWS", refObj);
// First create a new window. We do this first so that on non-mac, we don't
// accidentally close the app by closing all the windows.
I tested with browser.tabs.closeWindowWithLastTab default true, and false: no difference
Comment 6•6 years ago
|
||
I had a quick look at 67 resolved bugs and Bug 1554167 looks like the most likely (to have inadvertently fixed the privacy.clearOnShutdown.openWindows issue) - that bug removed a "shutdown sanitization would be left dangling and run again on next startup" which seems to fit with openWindows sanitizing opening a new window.
PS: Johann, sorry for the needinfo, but I'm not sure who else to ping
| Assignee | ||
Comment 7•6 years ago
|
||
Sounds very likely, yes. Thank you.
| Assignee | ||
Updated•6 years ago
|
Comment 8•6 years ago
|
||
Sorry johann, my bad. I guess you only read my last post: but it was the two I made before it that I really wanted you to look at. Should I just open a new bugzilla? i.e when sanitizing manually with ctrl-shift-del, if privacy.cpd.openWindows = true, it causes a second window to open
Comment 9•6 years ago
|
||
I'll open a new ticket, since it's a different pref and doesn't rely on sanitizing on shutdown as per this issue's title. It's an edge case (in your forest: sorry for "mangling the metaphors"), and not something I personally am worried about.
| Assignee | ||
Comment 10•6 years ago
|
||
Ah, I see, sorry for that and thanks for opening the new bug, I think that makes things clearer.
Description
•