Closed Bug 1912066 Opened 1 month ago Closed 1 month ago

Privacy settings throw error during initiation when MOZ_DATA_REPORTING is off

Categories

(Firefox :: Settings UI, defect)

Firefox 128
defect

Tracking

()

RESOLVED DUPLICATE of bug 1910312

People

(Reporter: henry-x, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Noticed in Tor Browser, based on ESR 128, where MOZ_DATA_REPORTING is false. We keep getting an error in the console when opening preferences:

Uncaught (in promise) TypeError: Preferences.get(...) is null

dataCollectionCheckboxHandler chrome://browser/content/preferences/privacy.js:355

init chrome://browser/content/preferences/privacy.js:1263

init chrome://browser/content/preferences/preferences.js:181

initializeCategories chrome://browser/content/preferences/findInPage.js:109

init chrome://browser/content/preferences/findInPage.js:58

And about:preferences#privacy is blank because of the failed initiation.

I think this comes from bug 1908312, which didn't place the call to dataCollectionCheckboxHandler in the AppConstants.MOZ_DATA_REPORTING block.

Status: NEW → RESOLVED
Closed: 1 month ago
Duplicate of bug: 1910312
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.