Closed Bug 1888451 Opened 2 years ago Closed 4 months ago

Setting custom SanitizeOnShutdown policy doesn't result in locked History Options Dropdown

Categories

(Firefox :: Enterprise Policies, defect, P3)

Desktop
Windows
defect

Tracking

()

RESOLVED FIXED
153 Branch
Tracking Status
firefox-esr115 --- wontfix
firefox124 --- wontfix
firefox125 --- wontfix
firefox126 --- wontfix
firefox153 --- fixed

People

(Reporter: pascal.reintjens, Assigned: mkaply)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0

Steps to reproduce:

  1. Created a policies.json file with the following contents:
{
	"policies": {		
		"SanitizeOnShutdown": {
			"Cache": true,
			"Cookies": true,			
			"Downloads": true,
			"FormData": true,
			"Sessions": true,			
			"OfflineApps": true,
			"Locked": true
		}
	}	
}
  1. Subsequently, placed this file within the installation directory: C:\Program Files\Mozilla Firefox\distribution\policies.json
  2. restarted the browser and went to Privacy & Security > History

Actual results:

The settings get applied and the dropdown changes to: Firefox will Use custom settings for history
But this dropdown is not locked and therefore the user can switch the dropdown to "Remember History" or "Never remeber history". When to user changes the dropdown, it gets then switched back when restarting Firefox again.

Expected results:

The dropdown should be locked / greyed out so that the user doesn't think that he could change this option even though he can't.

Component: Untriaged → Enterprise Policies
See Also: → 1888541
See Also: → 1888485

I can reproduce this issue in Windows 10 with Nightly v126.0a1, Beta v125.0 (RC), Release v124.0.2 and ESR v115.9.1esr.

Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → Windows
Hardware: Unspecified → Desktop

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
Assignee: nobody → mozilla
Status: NEW → ASSIGNED

Backed out for causing bc failures @browser_policy_sanitize_on_shutdown.js.

Flags: needinfo?(mozilla)
Pushed by csabou@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/63b552a161e4 https://hg.mozilla.org/integration/autoland/rev/78c6f2889749 Revert "Bug 1888451 - Disable history dropdown when SanitizeOnShutdown locks the pref. r=bvandersloot" for causing bc failures @browser_policy_sanitize_on_shutdown.js.

Authored by https://github.com/mkaply
https://github.com/mozilla/enterprise-firefox/commit/fdf89abd7bd720b16607121e881e67aa745010f7
[enterprise-main] Bug 1888451 - Disable history dropdown when SanitizeOnShutdown locks the pref. r=bvandersloot

Authored by agoloman
https://github.com/mozilla/enterprise-firefox/commit/63b552a161e438928eb9bcbae1023fb4b37ee403
[enterprise-main] Revert "Bug 1888451 - Disable history dropdown when SanitizeOnShutdown locks the pref. r=bvandersloot" for causing bc failures @browser_policy_sanitize_on_shutdown.js.

Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED

Looks like I clashed with the Settings redesign.

Flags: needinfo?(mozilla)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Pushed by mozilla@kaply.com: https://github.com/mozilla-firefox/firefox/commit/5518febc9504 https://hg.mozilla.org/integration/autoland/rev/944214e4dc1e Disable history dropdown when SanitizeOnShutdown locks the pref. r=mstriemer,bvandersloot
Status: REOPENED → RESOLVED
Closed: 4 months ago → 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch
QA Whiteboard: [qa-triage-done-c154/b153]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: