Port bug 1627711 - Remove incremental GC information from about:support. rs=bustage-fix
authorGeoff Lankow <geoff@darktrojan.net>
Tue, 19 May 2020 11:43:55 +1200
changeset 39177 9d6faec6c30ea9b417ea688501f987a36e24b59d
parent 39176 00e720d9c6a14a2fa167b95baf3f54429b18e5d6
child 39178 a440d58f09f80951264aeddebc40a804de4a3e51
push id402
push userclokep@gmail.com
push dateMon, 29 Jun 2020 20:48:04 +0000
reviewersbustage-fix
bugs1627711
Port bug 1627711 - Remove incremental GC information from about:support. rs=bustage-fix
mail/components/about-support/content/aboutSupport.js
mail/components/about-support/content/aboutSupport.xhtml
mail/test/browser/content-tabs/browser_aboutSupport.js
--- a/mail/components/about-support/content/aboutSupport.js
+++ b/mail/components/about-support/content/aboutSupport.js
@@ -992,20 +992,16 @@ var snapshotFormatters = {
 
     // Input devices information
     insertDeviceInfo("input", data.audioInputDevices);
 
     // Media Capabilitites
     insertEnumerateDatabase();
   },
 
-  javaScript(data) {
-    $("javascript-incremental-gc").textContent = data.incrementalGCEnabled;
-  },
-
   remoteAgent(data) {
     if (!AppConstants.ENABLE_REMOTE_AGENT) {
       return;
     }
     $("remote-debugging-accepting-connections").textContent = data.listening;
     $("remote-debugging-url").textContent = data.url;
   },
 
--- a/mail/components/about-support/content/aboutSupport.xhtml
+++ b/mail/components/about-support/content/aboutSupport.xhtml
@@ -580,30 +580,16 @@
             <button id="verify-place-integrity-button" data-l10n-id="place-database-verify-integrity"/>
             <pre id="verify-place-result" class="hidden no-copy"></pre>
           </td>
         </tr>
       </table>
 #endif
 
       <!-- - - - - - - - - - - - - - - - - - - - - -->
-      <h2 class="major-section" data-l10n-id="js-title"/>
-
-      <table>
-        <tbody>
-          <tr>
-            <th class="column" data-l10n-id="js-incremental-gc"/>
-
-            <td id="javascript-incremental-gc">
-            </td>
-          </tr>
-        </tbody>
-      </table>
-
-      <!-- - - - - - - - - - - - - - - - - - - - - -->
       <h2 class="major-section" data-l10n-id="a11y-title"/>
 
       <table>
         <tbody>
           <tr>
             <th class="column" data-l10n-id="a11y-activated"/>
 
             <td id="a11y-activated">
--- a/mail/test/browser/content-tabs/browser_aboutSupport.js
+++ b/mail/test/browser/content-tabs/browser_aboutSupport.js
@@ -61,17 +61,16 @@ function teardownTest(module) {
  * data as being from about:support.
  */
 const ABOUT_SUPPORT_STRINGS = [
   "Application Basics",
   "Mail and News Accounts",
   "Extensions",
   "Important Modified Preferences",
   "Graphics",
-  "JavaScript",
   "Accessibility",
   "Library Versions",
 ];
 
 /**
  * Strings that if found in the about:support text or HTML usually indicate an
  * error.
  */