Bug 1358394 - Ensure "Reports" section caption is shown without telemetry section, r=jaws
authorTimothy Guan-tin Chien <timdream@gmail.com>
Fri, 21 Apr 2017 22:05:15 +0800
changeset 354490 df49ddc506e8fdf66417829c31917c23f12fe40a
parent 354489 8dc9105b0dffed0e2e5dfcf481c384880514b9a8
child 354491 fa53571a3e13fc00596da785bfade8f9fbe29880
push id41327
push userihsiao@mozilla.com
push dateMon, 24 Apr 2017 02:33:02 +0000
treeherderautoland@df49ddc506e8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs1358394
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1358394 - Ensure "Reports" section caption is shown without telemetry section, r=jaws MozReview-Commit-ID: EgovgZk0X0o
browser/components/preferences/in-content/privacy.xul
--- a/browser/components/preferences/in-content/privacy.xul
+++ b/browser/components/preferences/in-content/privacy.xul
@@ -745,16 +745,19 @@
                  class="indent">&telemetryDesc.label;</description>
   </vbox>
 </groupbox>
 #endif
 
 #ifdef MOZ_DATA_REPORTING
 #ifdef MOZ_CRASHREPORTER
 <groupbox id="crashReporterGroup" data-category="panePrivacy" data-subcategory="reports" hidden="true">
+#ifndef MOZ_TELEMETRY_REPORTING
+<caption><label>&reports.label;</label></caption>
+#endif
   <hbox align="center">
     <checkbox id="automaticallySubmitCrashesBox"
               preference="browser.crashReports.unsubmittedCheck.autoSubmit"
               label="&alwaysSubmitCrashReports.label;"
               accesskey="&alwaysSubmitCrashReports.accesskey;"/>
     <label id="crashReporterLearnMore"
            class="learnMore text-link">&crashReporterLearnMore.label;</label>
   </hbox>