Closed Bug 2051921 Opened 1 month ago Closed 1 month ago

Provide a policy that prevents the user from changing the default browser

Categories

(Firefox :: Enterprise Policies, enhancement, P3)

Firefox 152
enhancement

Tracking

()

RESOLVED FIXED
154 Branch
Tracking Status
firefox-esr153 --- fixed
firefox154 --- fixed

People

(Reporter: edward, Assigned: mkaply)

Details

Attachments

(5 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:152.0) Gecko/20100101 Firefox/152.0

Steps to reproduce:

Set DontCheckDefaultBrowser to true in policy (and verified via about:policy)
Open Firefox Settings, the Account & Sync still allows changing the default browser via "Psst, Firefox isn’t your default"

Actual results:

Account & Sync still allows changing the default browser via "Psst, Firefox isn’t your default"

Expected results:

The Default Browser should not be allowed to change.

The Bugbug bot thinks this bug should belong to the 'Firefox::Sync' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Sync

I actually looked into this, and this policy never prevented the user from changing the default browser.

It prevented Firefox from showing a popup at startup asking about changing the browser

I don't disagree that we should offer that, but that's not what this policy is for.

Component: Sync → Enterprise Policies
Summary: The Accounts & Sync Default browser does not respect Policy DontCheckDefaultBrowser → Provide a policy that prevents the user from changing the default browser

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: -- → N/A
Type: defect → enhancement
Flags: needinfo?(mozilla)
Priority: -- → P3
Assignee: nobody → mozilla
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by mozilla@kaply.com: https://github.com/mozilla-firefox/firefox/commit/6216cc237ddb https://hg.mozilla.org/integration/autoland/rev/7907f6a70190 Add policy for controlling default browser in prefs. r=bsmth,fluent-reviewers,akulyk,bolsson
Pushed by smolnar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/7032bedb920a https://hg.mozilla.org/integration/autoland/rev/9ca2e898060f Revert "Bug 2051921 - Add policy for controlling default browser in prefs. r=bsmth,fluent-reviewers,akulyk,bolsson" for causing lint failures @ Policies.sys

Tree changes out from under me and I didn't rebase. Doh!

Flags: needinfo?(mozilla)
Pushed by mozilla@kaply.com: https://github.com/mozilla-firefox/firefox/commit/baafc37f84ac https://hg.mozilla.org/integration/autoland/rev/70d5ecf0f27a Add policy for controlling default browser in prefs. r=bsmth,fluent-reviewers,akulyk,bolsson
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch

We were able to disallow users to set Firefox as the default browser with setting pref.general.disable_button.default_browser to true (via Preferences policy or MCD) in enterprise use. The ability looks to be lost in Firefox 153 (the next ESR). Is there any chance to uplift the patch to the 153 branch?

  1. Yes, this will be uplifted to Firefox 153.
  2. Forgot about pref.general.disable_button.default_browser. I'll make it work and get it uplifted.

Opened https://bugzilla.mozilla.org/show_bug.cgi?id=2055887

QA Whiteboard: [qa-triage-done-c155/b154]
Attachment #9621385 - Flags: approval-mozilla-esr153?

firefox-esr153 Uplift Approval Request

  • User impact if declined/Reason for urgency: Parity with Firefox 154/Policy
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing:
  • Risk associated with taking this patch: low
  • Explanation of risk level: Policy only.
  • String changes made/needed?: Yes, but for policy, we don't worry about English only.
  • Is Android affected?: no
Attachment #9621385 - Flags: approval-mozilla-esr153? → approval-mozilla-esr153+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: