commit 0d02dac1638ad Author: Alessio Placitelli Date: Tue May 30 10:42:42 2017 +0200 Bug 1312182 - Consolidate the uses of MOZ_TELEMETRY_REPORTING in the code. r=flod,gfritzsche,jaws The MOZ_TELEMETRY_REPORTING define does not control whether or not Telemetry is enabled but rather if it will send the gathered data to Mozilla servers. We still want to display the about:preferences options and let developers know about this behaviour. Please note that this patch is not changing any behaviour: it's only making it explicit by showing the options as disabled rather than hiding them. MozReview-Commit-ID: 7A0y0E0hm0Q --HG-- extra : rebase_source : 36d1a7f5ec5c05b43731daf9507d3068fe7674ee --- browser/base/content/baseMenuOverlay.xul | 2 +- browser/components/nsBrowserGlue.js | 8 +-- .../components/preferences/in-content-new/main.xul | 2 - .../preferences/in-content-new/privacy.js | 32 +++++------ .../preferences/in-content-new/privacy.xul | 14 ++--- .../components/preferences/in-content/advanced.js | 63 +++++++++++----------- .../components/preferences/in-content/advanced.xul | 7 ++- .../chrome/browser/preferences-old/advanced.dtd | 5 ++ .../en-US/chrome/browser/preferences/advanced.dtd | 5 ++ 9 files changed, 67 insertions(+), 71 deletions(-) diff --git browser/base/content/baseMenuOverlay.xul browser/base/content/baseMenuOverlay.xul index 1befa2bb66cc..804bbdebb797 100644 --- browser/base/content/baseMenuOverlay.xul +++ browser/base/content/baseMenuOverlay.xul @@ -61,7 +61,7 @@ onclick="checkForMiddleClick(this, event);" label="&helpKeyboardShortcuts.label;" accesskey="&helpKeyboardShortcuts.accesskey;"/> -#ifdef MOZ_TELEMETRY_REPORTING +#ifdef MOZ_SERVICES_HEALTHREPORT -#ifdef MOZ_TELEMETRY_REPORTING -#endif -#ifdef MOZ_TELEMETRY_REPORTING -