Closed Bug 2043551 Opened 3 months ago Closed 3 months ago

Settings-redesign: DNS over HTTPS setting for 2 vs 3 inversed

Categories

(Firefox :: Settings UI, defect, P1)

defect

Tracking

()

RESOLVED FIXED
153 Branch
Tracking Status
firefox-esr140 --- unaffected
firefox151 --- disabled
firefox152 --- fixed
firefox153 --- fixed

People

(Reporter: manuel, Assigned: bvandersloot)

References

(Regressed 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(3 files)

Attached image settings.png

The text checkbox for doh mode 2 vs 3 reads opposite.

The previous "Max protection: Nightly will always use secure DNS. You’ll see a security risk warning before we use your system DNS." (network.trr.mode 3) now maps to "Custom" with the unchecked option "[ ] Always warn me if secure DNS isn’t available".

The previous "Increased Protection" (network.trr.mode 2) now maps to "Custom" with the checked option "[x] Always warn me if secure DNS isn’t available".

It seems like the checkbox is backwards. I'm attaching screenshots of how the settings look like. First row is network.trr.mode 2, second row is network.trr.mode 3

Expected result: The checked state of the checkbox maps to doh mode 3, the unchecked state maps to doh mode 2.

Post regressor bug

Flags: needinfo?(valentin.gosu)

I think this is caused by the code here:
privacy.mjs
At first look it doesn't seem obviously wrong, but it's interesting that it doesn't have any code coverage.

Flags: needinfo?(valentin.gosu)
Keywords: regression
Regressed by: 1971428

Set release status flags based on info from the regressing bug 1971428

:bvandersloot, since you are the author of the regressor, bug 1971428, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(bvandersloot)

This is disabled on Fx151 (per bug 2028609).

Yikes. Looks like when I was implementing this checkbox, there was some back and forth on the directionality of the checkbox's purpose. I got mixed up in my negative counting. Patch incoming.

Flags: needinfo?(bvandersloot)
Assignee: nobody → bvandersloot
Status: NEW → ASSIGNED

This probably needs a beta uplift as well.

Regressions: 2044075
Severity: -- → S2
Priority: -- → P2
Priority: P2 → P1
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch
Attachment #9592517 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: A setting string for DNS over HTTPS will say the opposite of what the checkbox does
  • 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: Small change.
  • String changes made/needed?: No
  • Is Android affected?: no
Flags: in-testsuite+
Attachment #9592517 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: