Closed Bug 2004669 Opened 8 months ago Closed 8 months ago

Private Window options are still available via Firefox View tab when private browsing is disabled

Categories

(Firefox :: Enterprise Policies, defect, P3)

Desktop
Windows
defect

Tracking

()

VERIFIED FIXED
148 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr140 --- verified
firefox146 --- wontfix
firefox147 --- verified
firefox148 --- verified

People

(Reporter: sbadau, Assigned: mkaply)

References

Details

Attachments

(3 files)

Found in

  • Nightly 147.0a1

Affected versions

  • Nightly 147.0a1
  • Firefox 146
  • Firefox 140.6.0 ESR

Tested platforms

  • Affected platforms: Windows 11, Ubuntu 24.04 and macOS 14

Preconditions

  • The "DisablePrivateBrowsing" policy is set to true via a policies.json file placed in the distribution folder inside the Firefox installation directory.

Steps to reproduce

  1. Open the Firefox View Tab.
  2. Navigate to the History section.
  3. Click on the "Options button" (...) located in the right side to open the dropdown menu.
  4. Observe the available options.

Expected result

  • The "Open in New Private Window" option should be hidden or disabled (grayed out), because private browsing is disabled by policy.

Actual result

  • The "Open in New Private Window" option is still visible and functional, allowing users to open private windows despite the "DisablePrivateBrowsing" policy.

Regression range

  • Reproducible on all current Firefox versions.

Additional notes

  • On Windows enabling the "DisablePrivateBrowsing" policy via GPO shows the same behavior.
Flags: qe-verify+
Assignee: nobody → mozilla
Status: NEW → ASSIGNED

The severity field is not set for this bug.
:mkaply, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(mozilla)
Severity: -- → S3
Flags: needinfo?(mozilla)
Priority: -- → P3
Pushed by mozilla@kaply.com: https://github.com/mozilla-firefox/firefox/commit/174ee0b6ace4 https://hg.mozilla.org/integration/autoland/rev/25b7deb94056 Missed hiding a private window option with policy. r=kcochrane,fxview-reviewers
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 148 Branch

The patch landed in nightly and beta is affected.
:mkaply, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(mozilla)

firefox-beta Uplift Approval Request

  • User impact if declined: Allows access to private browsing when disabled by policy.
  • Code covered by automated testing: no
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing:
  • Risk associated with taking this patch: low
  • Explanation of risk level: Straightforward change
  • String changes made/needed: None
  • Is Android affected?: no
Attachment #9535590 - Flags: approval-mozilla-beta?

firefox-esr140 Uplift Approval Request

  • User impact if declined: Allows access to private browsing when disabled by policy.
  • Code covered by automated testing: no
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing:
  • Risk associated with taking this patch: low
  • Explanation of risk level: Straightforward change
  • String changes made/needed: None
  • Is Android affected?: no
Attachment #9535591 - Flags: approval-mozilla-esr140?
Flags: needinfo?(mozilla)
Attachment #9535590 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9535591 - Flags: approval-mozilla-esr140? → approval-mozilla-esr140+
QA Whiteboard: [qa-found-in-c147] [S3] → [qa-found-in-c147] [S3] [qa-ver-needed-c148/b147]

Verified as fixed in Firefox 140.7.0 ESR (Build ID: 20260106170501), Firefox 147 (Build ID: 20260105210555), and Nightly 148.0a1 (Build ID: 20260107160934) - the Private Window option (Open in New Private Window) is no longer displayed in the History section of the Firefox View tab.

However, when the user is logged into Sync, the Open in New Private Window option is still displayed in the Options (…) dropdown menu in the following sections:

  • Tabs from other devices
  • Recent Browsing → Tabs from other devices.
QA Contact: sbadau

However, when the user is logged into Sync, the Open in New Private Window option is still displayed in the Options (…) dropdown menu in the following sections.

Can you open a new bug? I forgot to test sync.

See Also: → 2009176

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

However, when the user is logged into Sync, the Open in New Private Window option is still displayed in the Options (…) dropdown menu in the following sections.

Can you open a new bug? I forgot to test sync.

Sure, I logged Bug 2009176.

Based on this and Comment 12, I am marking this report as Verified Fixed.

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

Attachment

General

Created:
Updated:
Size: