Closed Bug 2059720 Opened 4 months ago Closed 2 months ago

about:preferences#privacy Firefox Relay email masks section should be removed

Categories

(Enterprise Products :: Firefox, defect)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: RT, Assigned: jporter)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 2 external files)

The Relay section is irrelevant in the enterprise case

This gets removed when the signon.firefoxRelay.feature pref is unset "" so we may just need to add this to our default set of prefs

Assignee: nobody → joporter

Looks like it should be dupe of bug 2034430

Flags: needinfo?(joporter)

Based on the contents of the PR for bug 2034430, this will be resolved when landed. I'll keep this open in the meantime since that bug is addressing a test fix with disabling Relay being part of the fix, so it's not immediately clear these are linked.

Status: NEW → RESOLVED
Closed: 3 months ago
Depends on: 2034430
Flags: needinfo?(joporter)
Resolution: --- → FIXED

Didn't mean to close it..

Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Per conversation with Janika, since we will be adding functionality to configure some preset policies to disable unsupported features that will be consumed by the policy engine, we agreed that we leverage policies when possible to avoid unnecessary code changes for features that are already controllable by policy or pref.

For this bug - Relay is able to be disabled by flipping a single pref but has no stadanlone policy, so we can add it to the base policy set in the Preferences policy (unless there is any other reason to create a standalone policy). This will hide and disable the Relay features.

Bug 2034430 is still valid in this case (without the change in firefox.js and the test) for test greening.

Preferences policy to fully disable and lock Relay that should be added as a base policy for Enterprise:

{
  "signon.firefoxRelay.feature": {
    "Status": "locked",
    "Value": "unavailable"
  }
}

Making note of this here. Since bug 2034430 was intended to green relay test failures and we've pivoted to disabling relay by policy, that bug was landed with just the relay tests skipped, and the relay disabling work was removed.

We will still want to have tests to ensure Relay (and other unsupported features) are disabled on enterprise builds, but this will have to wait until bug 2060298 lands which will allow us to disable things by default via policy. Along with that bug, we'll introduce a test suite for these disabled features. At that point we can re-add the disable relay test.

Depends on: 2060298
Severity: -- → S2
Target Milestone: --- → MVP
Summary: Suggest Firefox Relay email masks section ofabout:preferences#privacy section should be removed → about:preferences#privacy Firefox Relay email masks section should be removed

Authored by https://github.com/jporter-dev
https://github.com/mozilla/enterprise-firefox/commit/f0018ac69951af62e6a6afaf86929834e0dc3a29
[enterprise-main] Bug 2059720 - Disable Relay by default on Enterprise

Authored by https://github.com/jporter-dev
https://github.com/mozilla/enterprise-firefox/commit/c4c3baea816f60846aaa652f4232d6452c36c7ce
[enterprise-main] Merge pull request #1414 from jporter-dev/cleanup-about-preferences

Status: REOPENED → RESOLVED
Closed: 3 months ago → 2 months ago
Resolution: --- → FIXED
Flags: qe-verify+
Regressions: 2070454

Hello,
We verified this on Windows 11x64, with Firefox Enterprise 157.0a1 (20260908080322) and the Firefox Relay email masks checkbox is no longer displayed after setting up the Preferences policy.

{
  "browser.urlbar.trustPanel.breachAlerts": {
    "Status": "locked",
    "Value": false
  },
  "browser.urlbar.trustPanel.breachAlerts.featureGate": {
    "Status": "locked",
    "Value": false
  },
  "signon.firefoxRelay.feature": {
    "Status": "locked",
    "Value": "unavailable"
  }
}

Please let us know if there is anything else we need to check.
Thank you.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
QA Contact: lburuian
Attachment #9639618 - Attachment description: with and without preferences policy → with and without the Preferences policy
No longer regressions: 2070454

Hi Luminita,

Thank you for checking this one. Apologies, I should have clarified here after landing this and bug 2059723 that these should not require policy and that the pref defaults were added to the codebase instead.

It looks like this patch landed after the nightly-enterprise push you tested against Firefox Enterprise 157.0a1 (20260908080322), it should be in the next nightly-enterprise release.

This can be tested with no Preferences policy applied against a build containing the patch.

Thank you!

Status: VERIFIED → RESOLVED
Closed: 2 months ago → 2 months ago
Flags: qe-verify+
Attached image image_480.png —

Hello,
We verified this on Windows 11x64, with Firefox Enterprise 157.0a1 (20260909193308) and the Firefox Relay email masks checkbox is no longer displayed without setting up the Preferences policy.
Please let us know if there is anything else we need to check.
Thank you.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
Depends on: 2070529
No longer depends on: 2060298
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: