Bug 1402378 - Port bug 1400390 to TB [Fix wrong colspan of media section in about:support]. r=jorgk
authorRichard Marti <richard.marti@gmail.com>
Fri, 22 Sep 2017 18:59:34 +0200
changeset 29029 2fd8773a88edfdb49aaf9f5532d8f35ca2f6f80f
parent 29028 988c15280e481afa0df0281a4bb006a3d5955010
child 29030 16c7195a1573d4df9fe392153467fa21664ae12f
push id2068
push userclokep@gmail.com
push dateMon, 13 Nov 2017 19:02:14 +0000
treeherdercomm-beta@9c7e7ce8672b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorgk
bugs1402378, 1400390
Bug 1402378 - Port bug 1400390 to TB [Fix wrong colspan of media section 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
@@ -658,16 +658,17 @@ var snapshotFormatters = {
   media: function media(data) {
     let strings = stringBundle();
 
     function insertBasicInfo(key, value) {
       function createRow(key, value) {
         let th = $.new("th", strings.GetStringFromName(key), "column");
         let td = $.new("td", value);
         td.style["white-space"] = "pre-wrap";
+        td.colSpan = 8;
         return $.new("tr", [th, td]);
       }
       $.append($("media-info-tbody"), [createRow(key, value)]);
     }
 
     function createDeviceInfoRow(device) {
       let deviceInfo = Ci.nsIAudioDeviceInfo;
 
--- a/mail/components/about-support/content/aboutSupport.xhtml
+++ b/mail/components/about-support/content/aboutSupport.xhtml
@@ -541,17 +541,17 @@
         &aboutSupport.mediaTitle;
       </h2>
       <table>
         <tbody id="media-info-tbody">
         </tbody>
 
         <tbody id="media-output-devices-tbody">
           <tr>
-            <th colspan="10" class="title-column">
+            <th colspan="9" class="title-column">
               &aboutSupport.mediaOutputDevicesTitle;
             </th>
           </tr>
           <tr>
             <th>
               &aboutSupport.mediaDeviceName;
             </th>
             <th>
@@ -578,17 +578,17 @@
             <th>
               &aboutSupport.mediaDeviceLatency;
             </th>
           </tr>
         </tbody>
 
         <tbody id="media-input-devices-tbody">
           <tr>
-            <th colspan="10" class="title-column">
+            <th colspan="9" class="title-column">
               &aboutSupport.mediaInputDevicesTitle;
             </th>
           </tr>
           <tr>
             <th>
               &aboutSupport.mediaDeviceName;
             </th>
             <th>