Bug 1518233 - Port bug 1515103: show frame rate and whether we're on a low-end device in about:support. r=jorgk
authorRichard Marti <richard.marti@gmail.com>
Mon, 07 Jan 2019 20:11:51 +0100
changeset 34143 42f55e4d3ba344ef183805f17d61b5c3df09be99
parent 34142 715f97e4c9ae556434ec74f58ae851d21c0ae442
child 34144 948232e82f71cbd7d39a7b9a569ee082433852ed
push id389
push userclokep@gmail.com
push dateMon, 18 Mar 2019 19:01:53 +0000
reviewersjorgk
bugs1518233, 1515103
Bug 1518233 - Port bug 1515103: show frame rate and whether we're on a low-end device in about:support. r=jorgk
mail/components/about-support/content/aboutSupport.js
mail/components/about-support/content/aboutSupport.xhtml
--- a/mail/components/about-support/content/aboutSupport.js
+++ b/mail/components/about-support/content/aboutSupport.js
@@ -503,16 +503,18 @@ var snapshotFormatters = {
       "webgl2DriverExtensions",
       "webgl2Extensions",
       ["supportsHardwareH264", "hardware-h264"],
       ["direct2DEnabled", "#Direct2D"],
       "usesTiling",
       "contentUsesTiling",
       "offMainThreadPaintEnabled",
       "offMainThreadPaintWorkerCount",
+      "lowEndMachine",
+      "targetFrameRate",
     ];
     for (let feature of featureKeys) {
       if (Array.isArray(feature)) {
         await addRowFromKey("features", feature[0], feature[1]);
         continue;
       }
       await addRowFromKey("features", feature);
     }
--- a/mail/components/about-support/content/aboutSupport.xhtml
+++ b/mail/components/about-support/content/aboutSupport.xhtml
@@ -377,19 +377,16 @@
 
       <table>
         <tbody id="graphics-features-tbody">
           <tr>
             <th colspan="2" class="title-column" data-l10n-id="graphics-features-title"/>
           </tr>
         </tbody>
 
-        <tbody id="graphics-tbody">
-        </tbody>
-
         <tbody id="graphics-gpu-1-tbody">
           <tr>
             <th colspan="2" class="title-column" data-l10n-id="graphics-gpu1-title"/>
           </tr>
         </tbody>
 
         <tbody id="graphics-gpu-2-tbody">
           <tr>