about:preferences privacy pane fails to initialize

When I open "about:preferences" I get the following error:

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

Most noticeable if you click the "Settings..." button in the security pane, where the broken initiation gives a blank page.

I think it comes from bugzilla bug 1908312, which was backported to ESR 128, and did not wrap the dataCollectionCheckboxHandler in a AppConstants.MOZ_DATA_REPORTING check.

Opened bugzilla bug 1912066. Already reported in bugzilla bug 1910312.

Edited by henry