When launching FF in permanent private browsing mode (with the -private option), only the initial window has the indicator that it's private.
Categories
(Firefox :: Private Browsing, defect, P3)
Tracking
()
People
(Reporter: rick3162, Unassigned)
References
Details
(Keywords: priv-triaged)
Attachments
(2 files)
Comment 2•11 years ago
|
||
Comment 4•7 years ago
|
||
Updated•6 years ago
|
Comment 5•5 years ago
|
||
Hello, I'm playing around with this, but I'm not sure I'm doing the changes in the right places:
- I managed to make the new open window to display a private window (about:privatebrowsing instead of regular new window) by changing OpenBrowsingWindow and forcing the default args in browser/base/content/browser.js
- When a new tab is opened in permanent private browsing mode, about:privatebrowsing should be opened as well? I did a test and changed browser/base/content/utilityOverlay.js to achieve this behavior
I'm still learning how to make the mask icon appear in the new window
Comment 9•4 years ago
|
||
As far as I know, the -private tag is intended to launch Firefox directly into private browsing mode only, NOT permanent private browsing mode. From my findings, that can be done from about:preferences#privacy -> History -> Use custom history settings -> Always use private browsing mode.
As to what was mentioned in comment 3 (I know it was really long ago), but the new window that was opened after using the -private tag, DOES leave behind a history trail.
Comment 10•4 years ago
•
|
||
Looks like the "private" flag is just completely undocumented at this point and behaves strangely. It tries to create a "temporary permanent private browsing mode", ie behave the same as permanent private browsing mode but minus the pref being flipped. But it doesn't work, because although PrivateBrowsingUtils
is updated, lots of other consumers manually check the relevant pref, and it remains at the default value.
-private-window
is documented and behaves correctly (ie opens a single private window, and no guarantees or changes about subsequent windows).
Given how old this bug is I don't know how we feel about the future of this flag - given it's not documented in -help
, I think either we should remove support (which might surprise people some more!), or we should make it an alias for -private-window
and be explicit about that in the help, or we should genuinely fix it which is a bunch of work. Tim, as you're triage owner, wdyt?
Comment 11•4 years ago
|
||
For the long term, I suggest that we can remove the support of this undocumented flag. But I think we should make this transition as smooth as possible. So, my suggestion would be that
- For the short term, make the flag as an alias for
-private-window
and update the help message. - Add a telemetry probe to see how many users are still using
-private
flag - Based on the data, we can decide how we can proceed.
- If many users are still using this flag, we might need to do some extra work, like showing a message to users to say that we are going to phase out this flag and please move to use
-private-window
flag.
- If many users are still using this flag, we might need to do some extra work, like showing a message to users to say that we are going to phase out this flag and please move to use
- If the usage of this flag is low enough(< 1%), we can do a public announcement, maybe a blog post together with a SUMO page, and then we can remove the flag entirely.
Updated•3 years ago
|
Description
•