Closed Bug 2001191 Opened 9 months ago Closed 9 months ago

Private Window options still available when private browsing is disabled

Categories

(Firefox :: Enterprise Policies, defect)

defect

Tracking

()

VERIFIED FIXED
147 Branch
Tracking Status
firefox-esr140 --- verified
firefox146 --- verified
firefox147 --- verified

People

(Reporter: mkaply, Assigned: mkaply)

References

Details

Attachments

(4 files)

If you turn off private browsing, you still get an option to "search in private tab" in Firefox View.

You also get "Open in New Private Window" in the history sidebar and tabs from other devices.

It look like the old sidebar might have some places too.

Assignee: nobody → mozilla
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 147 Branch
Attachment #9528766 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

  • User impact if declined: Users can still access private browsing when it's turned off.
  • Code covered by automated testing: no
  • Fix verified in Nightly: yes
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: Turn on private browsing.

Verify that there are no private browsing options in the new sidebar and that when you select text in the Firefox window and right click, you don't see a "search in private window" option.

  • Risk associated with taking this patch: low
  • Explanation of risk level: Very low touch
  • String changes made/needed: None
  • Is Android affected?: no
Flags: qe-verify+
Attachment #9528804 - Flags: approval-mozilla-esr140?

firefox-esr140 Uplift Approval Request

  • User impact if declined: Users can still access private browsing when it's turned off.
  • Code covered by automated testing: no
  • Fix verified in Nightly: yes
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: Turn on private browsing.

Verify that there are no private browsing options in the new sidebar and that when you select text in the Firefox window and right click, you don't see a "search in private window" option.

  • Risk associated with taking this patch: low
  • Explanation of risk level: Very low touch
  • String changes made/needed: None
  • Is Android affected?: no
Attachment #9528766 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [uplift][qa-ver-needed-c147/b146]
Attachment #9528804 - Flags: approval-mozilla-esr140? → approval-mozilla-esr140+

I can not reproduce this issue in Nightly v147.0a1 (2025-11-21) in Windows 10 with policy DisablePrivateBrowsing = true enabled by using policy.json method (https://mozilla.github.io/policy-templates/#disableprivatebrowsing).

Context menu of "History" entries or "Tabs from other devices entries" from FirefoxView (sidebar) do not contain the option "Open in a Private Window" when Private Browsing is disabled.
Entries from the History section of the OLD Sidebar also do not contain the context-menu option to "Open in a Private Window" when Private Browsing is disabled.

Can you help up clear up this fix?

  1. On which operating system was this issue reproduced?
  2. What method did you use to turn off the Private Browsing?
  3. Did this reproduce in Nightly channel?
  4. What exactly do you mean by "search in private tab" in Firefox View?
  5. In the steps from the uplift request, you mentioned turning ON the private browsing, but in the title and description you mentioned turning it off. Which one is a typo?
    Thank you!
Flags: needinfo?(mozilla)

I reproduced this on Windows, on Nightly.

I turned off private browsing using the DisablePrivateBrowsing GPO.

For search in private tab, I meant the new option that when you select any text in Firefox you can "Search in private window"

Sorry, I meant turning private browsing off.

Flags: needinfo?(mozilla)

Hi Mike,

I turned off private browsing using DisablePrivateBrowsing GPO and I still see "Open in new private window" in Firefox View on the latest Nightly 147.0a1 Build ID: 20251203092053 . - please see the screenshot

I could not find any "Search in private window" - tried with Private Browsing enabled and disabled, if this is a new feature, are there any prefs that enables it?

Flags: needinfo?(mozilla)

Argh. I missed that dropdown menu. Thank you! I was focused on right click on the items, I didn't look at those dropdowns.

As far as the search in private, it appears I had something flipped for that, so you can ignore that. (It's not on by default yet)

(In reply to Mike Kaply [:mkaply] from comment #13)

Argh. I missed that dropdown menu. Thank you! I was focused on right click on the items, I didn't look at those dropdowns.

Mike, should I file a new bug for the “Open in New Private Window” option that is still displayed in the Dropdown with the DisablePrivateBrowsing GPO enabled, or should this issue be reopened?

See Also: → 2004669

I've logged Bug 2004669 to track the issue with the private browsing option still appearing in the dropdown.
Mike, please let me know if there's anything else I can help with on this bug.

Thanks for finding and reporting!

Flags: needinfo?(mozilla)

As no Private Window options are available in the context menu from Firefox View when Private Browsing is disabled in Firefox 140.6.0 ESR, Firefox 146, and Firefox 147.0b4, and the remaining issue is tracked in Bug 2004669, I’m going to mark this as Verified Fixed.

Status: RESOLVED → VERIFIED
QA Whiteboard: [uplift][qa-ver-needed-c147/b146] → [uplift][qa-ver-done-c147/b146]
Flags: qe-verify+
See Also: → 2009176
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: