Closed Bug 1610741 Opened 5 years ago Closed 2 years ago

Move Network Settings section from General into Privacy and Security, and move DoH out of the proxy dialog.

Categories

(Firefox :: Settings UI, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
relnote-firefox --- 114+
firefox113 --- wontfix
firefox114 --- fixed

People

(Reporter: nhnt11, Assigned: valentin)

References

(Blocks 1 open bug)

Details

Attachments

(5 files, 1 obsolete file)

This is intended to land in 75.

Attachment #9122380 - Attachment is obsolete: true

This was deprioritized.

Assignee: nhnt11 → nobody
Status: ASSIGNED → NEW
Priority: P2 → P3
Severity: normal → S3
See Also: → 1811766
Assignee: nobody → valentin.gosu
Status: NEW → ASSIGNED
Attachment #9323867 - Attachment description: WIP: Bug 1610741 - DoH setting UI → Bug 1610741 - DoH setting UI r=kershaw

Depends on D172966

  • The patch saves the confirmation channel's status and skipReason in the TRR Service
  • The UI queries the status and displays the stringified version in the Not Available (reason) label
  • Introduces doh-status-label CSS rule so the Learn-More link isn't off center

Depends on D173940

  • Patch changes TRRService::MaybeSetPrivateURI so that it doesn't bail
    if the URL is invalid. That could lead us into a state where the
    network.trr.uri pref has been set to some invalid URL, but we continue
    using the previous domain (or even the default TRR provider) instead.
  • Updates the DoH settings UI to not set the network.trr.uri pref to "",
    as that will cause the TRRService to use the value of
    the network.trr.default_provider_uri pref instead.

Depends on D174110

Pushed by valentin.gosu@gmail.com: https://hg.mozilla.org/integration/autoland/rev/6f296319409a DoH setting UI r=kershaw,settings-reviewers,Gijs,pbz,flod https://hg.mozilla.org/integration/autoland/rev/44218f91e7cf Remove old DoH UI r=Gijs,settings-reviewers,fluent-reviewers,flod https://hg.mozilla.org/integration/autoland/rev/e9e331ccc7ab DoH Settings UI: Show error reason in Not Available label r=Gijs,kershaw,fluent-reviewers,necko-reviewers,settings-reviewers,flod https://hg.mozilla.org/integration/autoland/rev/e2e564f584b3 Allow setting invalid URL in TRRService and show it in settings r=Gijs,fluent-reviewers,settings-reviewers,flod https://hg.mozilla.org/integration/autoland/rev/8596bc4554df Update warning message in DoH warning pages r=flod,fluent-reviewers

Backed out for causing xpcshell failures in test_dooh.js

Flags: needinfo?(valentin.gosu)
Pushed by valentin.gosu@gmail.com: https://hg.mozilla.org/integration/autoland/rev/8ec3cfe29b61 DoH setting UI r=kershaw,settings-reviewers,Gijs,pbz,flod https://hg.mozilla.org/integration/autoland/rev/403f22e3a0a0 Remove old DoH UI r=Gijs,settings-reviewers,fluent-reviewers,flod https://hg.mozilla.org/integration/autoland/rev/b9b738076d55 DoH Settings UI: Show error reason in Not Available label r=Gijs,kershaw,fluent-reviewers,necko-reviewers,settings-reviewers,flod https://hg.mozilla.org/integration/autoland/rev/8e85f984f46c Allow setting invalid URL in TRRService and show it in settings r=Gijs,fluent-reviewers,settings-reviewers,flod https://hg.mozilla.org/integration/autoland/rev/a7341379f263 Update warning message in DoH warning pages r=flod,fluent-reviewers
Regressions: 1826658
No longer regressions: 1826658
Pushed by valentin.gosu@gmail.com: https://hg.mozilla.org/integration/autoland/rev/c1cecb2463d2 DoH setting UI r=kershaw,settings-reviewers,Gijs,pbz,flod https://hg.mozilla.org/integration/autoland/rev/ce7622cbeb2c Remove old DoH UI r=Gijs,settings-reviewers,fluent-reviewers,flod https://hg.mozilla.org/integration/autoland/rev/525ec1a5f160 DoH Settings UI: Show error reason in Not Available label r=Gijs,kershaw,fluent-reviewers,necko-reviewers,settings-reviewers,flod https://hg.mozilla.org/integration/autoland/rev/f8d25be1be03 Allow setting invalid URL in TRRService and show it in settings r=Gijs,fluent-reviewers,settings-reviewers,flod https://hg.mozilla.org/integration/autoland/rev/57c51f48ee34 Update warning message in DoH warning pages r=flod,fluent-reviewers

Valentin, could you request a release note addition for this feature for our Nightly release notes? Thanks
https://wiki.mozilla.org/Release_Management/Release_Notes#Nomination_in_Bugzilla

I made a similar request in bug 1596847.

(In reply to Valentin Gosu [:valentin] (he/him) from bug 1596847 comment #13)

Release Note Request (optional, but appreciated)
[Why is this notable]: Adds more advanced UI for controlling DoH settings to avoid having users set about:config prefs.
[Affects Firefox for Android]: No
[Suggested wording]:

Bug 1610741 moved the DNS over HTTPS settings to the Privacy & Security section of the settings page and allows the user to choose from all the supported modes. Bug 1596847 added UI to manage the DNS over HTTPS exception list.

[Links (documentation, blog post, etc)]: DoH UI Improvements project plan

relnote-firefox: --- → ?
Flags: needinfo?(valentin.gosu)

Note added to Nightly 114 release notes in the CHANGED section with this wording:

DNS over HTTPS settings are now part of the Privacy & Security section of the Settings page and allow the user to choose from all the supported modes.

Comment on attachment 9323867 [details]
Bug 1610741 - DoH setting UI r=kershaw

Beta/Release Uplift Approval Request

  • User impact if declined: Users will receive the DoH settings UI in Fx 114 instead of Fx 113
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: QA is in progress: https://mozilla-hub.atlassian.net/browse/QA-1817
  • List of other uplifts needed: Bug 1596847, Bug 1826749
  • Risk to taking this patch: Medium
  • Why is the change risky/not risky? (and alternatives if risky): We have identified some edgecases in bug 1826749 and fixes are currently waiting for review; QA has identified bug 1825538 (proxies might not work when DoH strict mode is enabled). The main risks would be shipping the UI without these fixes. I think the risk of major bugs with the UI implementation is low.
  • String changes made/needed: Yes. Strings in preferences.ftl, permissions.ftl, netError.ftl were added.
  • Is Android affected?: No
Attachment #9323867 - Flags: approval-mozilla-beta?
Attachment #9325642 - Flags: approval-mozilla-beta?
Attachment #9325991 - Flags: approval-mozilla-beta?
Attachment #9325992 - Flags: approval-mozilla-beta?
Attachment #9327152 - Flags: approval-mozilla-beta?

Comment on attachment 9323867 [details]
Bug 1610741 - DoH setting UI r=kershaw

Per discussion with the various stakeholders, this is going to ride the 114 train.

Attachment #9323867 - Flags: approval-mozilla-beta? → approval-mozilla-beta-
Attachment #9325642 - Flags: approval-mozilla-beta? → approval-mozilla-beta-
Attachment #9325991 - Flags: approval-mozilla-beta? → approval-mozilla-beta-
Attachment #9325992 - Flags: approval-mozilla-beta? → approval-mozilla-beta-
Attachment #9327152 - Flags: approval-mozilla-beta? → approval-mozilla-beta-
Blocks: 1829905
Depends on: 1859505
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: