mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-28 03:17:31 +09:00
[Basilisk] Remove unused functionality for reporting crashes to an external server
This commit is contained in:
parent
a11b107f18
commit
e73c73a426
2 changed files with 3 additions and 21 deletions
|
|
@ -868,9 +868,6 @@ pref("browser.zoom.updateBackgroundTabs", true);
|
|||
// The breakpad report server to link to in about:crashes
|
||||
pref("breakpad.reportURL", "");
|
||||
|
||||
// URL for "Learn More" for Crash Reporter
|
||||
pref("toolkit.crashreporter.infoURL", "");
|
||||
|
||||
// base URL for web-based support pages
|
||||
pref("app.support.baseURL", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/");
|
||||
|
||||
|
|
|
|||
|
|
@ -209,27 +209,12 @@ var gAdvancedPane = {
|
|||
// DATA CHOICES TAB
|
||||
|
||||
/**
|
||||
* Set up or hide the Learn More links for various data collection options
|
||||
*/
|
||||
_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");
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
*
|
||||
* We don't report crashes to any external servers so there is nothing to learn more about.
|
||||
*/
|
||||
initSubmitCrashes: function ()
|
||||
{
|
||||
this._setupLearnMoreLink("toolkit.crashreporter.infoURL",
|
||||
"crashReporterLearnMore");
|
||||
let element = document.getElementById(crashReporterLearnMore);
|
||||
element.setAttribute("hidden", "true");
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue