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 33289 42f55e4d3ba3
parent 33288 715f97e4c9ae
child 33290 948232e82f71
push id2368
push userclokep@gmail.com
push dateMon, 28 Jan 2019 21:12:50 +0000
treeherdercomm-beta@56d23c07d815 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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>