mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-26 02:17:34 +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
|
// 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%/");
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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");
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue