DNS over HTTPS custom URL not retained/restored if setting changed
Background: I am unsure if the different behavior here is intentional or not, but it does differ from how Firefox and other forks behave when it comes to this setting, so I figured I'd mention it. It may be a relatively rare/niche situation, but there are times I need to swap off of my custom DNS over HTTPS URL for a moment and swap back to it (as my custom DNS I use has its own ad-blocking behavior, and it's very easy to test if it's impacting something by swapping to Cloudflare/etc temporarily, for example).
System Info / Version: Waterfox 6.7.4 Kubuntu 24.04.4 LTS
Setting location: Under Settings > Privacy & Security > DNS over HTTPS > Advanced Settings
Circumstance where this occurs: DNS over HTTPS option is set to Custom, and the drop-down is also set to Custom and a user-provided URL has been entered.
Behavior Observed: When the drop-down is changed from Custom to something other than Custom, like Cloudflare (default), when it is changed back to Custom, the URL that had been previously entered is not remembered/restored and instead a default URL is present in the field, which is https://mozilla.cloudflare-dns.com/dns-query
https://github.com/user-attachments/assets/fdb2209d-1497-4249-b036-498da6047552
Potentially Expected Behavior (this is how it currently works in Firefox and some other forks, just as an example): The previously manually entered URL is restored when Custom is selected from the drop-down
Automated triage: Issue resolved in release 6.7.6. Please re-open if the issue still occurs.