[Basilisk] Remove unused functionality for reporting crashes to an external server

This commit is contained in:
Basilisk-Dev 2023-09-26 12:20:57 -04:00 • committed by roytam1
commit e73c73a426
2 changed files with 3 additions and 21 deletions

View file

@ -868,9 +868,6 @@ pref("browser.zoom.updateBackgroundTabs", true);
// The breakpad report server to link to in about:crashes // The breakpad report server to link to in about:crashes
pref("breakpad.reportURL", ""); pref("breakpad.reportURL", "");
// URL for "Learn More" for Crash Reporter
pref("toolkit.crashreporter.infoURL", "");
// base URL for web-based support pages // base URL for web-based support pages
pref("app.support.baseURL", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/"); pref("app.support.baseURL", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/");

View file

@ -209,27 +209,12 @@ var gAdvancedPane = {
// DATA CHOICES TAB // DATA CHOICES TAB
/** /**
* Set up or hide the Learn More links for various data collection options * We don't report crashes to any external servers so there is nothing to learn more about.
*/
_setupLearnMoreLink: function (pref, element) {
// set up the Learn More link with the correct URL
let url = Services.prefs.getCharPref(pref);
let el = document.getElementById(element);
if (url) {
el.setAttribute("href", url);
} else {
el.setAttribute("hidden", "true");
}
},
/**
*
*/ */
initSubmitCrashes: function () initSubmitCrashes: function ()
{ {
this._setupLearnMoreLink("toolkit.crashreporter.infoURL", let element = document.getElementById(crashReporterLearnMore);
"crashReporterLearnMore"); element.setAttribute("hidden", "true");
}, },
/** /**