Closed Bug 2037133 Opened 22 days ago Closed 13 days ago

DNS over HTTPS settings incorrectly shows an error

Categories

(Firefox :: Settings UI, defect, P2)

defect

Tracking

()

VERIFIED FIXED
152 Branch
Tracking Status
firefox-esr140 --- unaffected
firefox150 --- wontfix
firefox151 --- wontfix
firefox152 --- verified

People

(Reporter: valentin, Assigned: bvandersloot)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [recomp-support])

Attachments

(2 files)

Attached image image.png

This is in mode3, and using Cloudflare.
DNS works, but the status is shown as failing (TRR_OK)

152.0a1 (2026-05-04)

I also see this in the console, so the error might not be in the DoH parts, but caused by this error in the initialization of the preferences:

Uncaught (in promise) TypeError: can't access property "replace", record['cc-exp'] is undefined
    items resource://autofill/FormAutofillPreferences.sys.mjs:268
    makePaymentsListItems resource://autofill/FormAutofillPreferences.sys.mjs:260
FormAutofillPreferences.sys.mjs:268:15
Error: preference with id 'browser.newtabpage.activity-stream.showSearch' already added Preferences.mjs:48:13
    _add chrome://global/content/preferences/Preferences.mjs:48
    addAll chrome://global/content/preferences/Preferences.mjs:73
    map self-hosted:163
    addAll chrome://global/content/preferences/Preferences.mjs:73
    _registerPreferences resource://newtab/lib/AboutPreferences.sys.mjs:200
    observe resource://newtab/lib/AboutPreferences.sys.mjs:167
    init chrome://browser/content/preferences/widgets/setting-pane.mjs:149
    init chrome://browser/content/preferences/config/SettingPaneManager.mjs:97
    init chrome://browser/content/preferences/preferences.js:427
    initializeCategories chrome://browser/content/preferences/findInPage.js:118
    init chrome://browser/content/preferences/findInPage.js:78

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)

I think this may actually be caused by the pref being set both here and here

Those probably aren't those callsites, but since you have browser.newtabpage.activity-stream.showSearch getting added twice erroring in your console, I would think that is it.

Bug 2031707 looks like the last place it was added, so I'll add that as a candidate regressor.

Flags: needinfo?(bvandersloot)
Regressions: 2031707
Regressed by: 2031707
No longer regressed by: 1971428
No longer regressions: 2031707
See Also: → 2037143

We have a related bug 2037143 filed over in the Home and New Tab component, we should fix this before we ship.

Whiteboard: [recomp]
Whiteboard: [recomp] → [recomp-support]
Severity: -- → S2
Priority: -- → P1
Priority: P1 → P2

I tried reverting the fix in bug 2033049 locally and it doesn't seem to stop the DoH errors, so I don't think this is the underlying cause. :bvandersloot do you have other ideas of what the cause might be?

Flags: needinfo?(bvandersloot)

Answer after some better investigation and debuger statements... it was a few missed variable renames during the panel migration lint cleanup. Patch incoming.

Flags: needinfo?(bvandersloot)
Assignee: nobody → bvandersloot
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 13 days ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch

The patch landed in nightly and beta is affected.
:bvandersloot, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(bvandersloot)
Flags: needinfo?(bvandersloot)

Hello I can confirm that the issue is fixed with firefox 152.0b1 and 153.0a1(2026-05-19) on Ubuntu 24.04, Windows 10 and macOS 15.6.7

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-ver-done-c152/b151]
QA Contact: snegritas
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: