Bug 1358394 - Ensure "Reports" section caption is shown without telemetry section, r=jaws draft
authorTimothy Guan-tin Chien <timdream@gmail.com>
Fri, 21 Apr 2017 22:05:15 +0800
changeset 566402 83e4ba45195873095e3ad2a1512166de1127256a
parent 566378 dd530a59750adcaa0d48fa4f69b0cdb52715852a
child 625302 271de3b8e55adf33d592f7e576f7e40a31be2ad7
push id55203
push userbmo:timdream@gmail.com
push dateFri, 21 Apr 2017 14:06:19 +0000
reviewersjaws
bugs1358394
milestone55.0a1
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>