Bug 1557427 - Port bug 1556822: Add the display color profile to about:support. r=jorgk
authorRichard Marti <richard.marti@gmail.com>
Thu, 06 Jun 2019 20:05:05 +0200
changeset 35797 142b160a5552bba18b1733c385aed6d543045f8a
parent 35796 31427e4cdbef2f74adb62f68fe28e3c25fe8ff20
child 35798 03aa53d80cf1d409c1bd97276396acd67fdb5003
push id392
push userclokep@gmail.com
push dateMon, 02 Sep 2019 20:17:19 +0000
reviewersjorgk
bugs1557427, 1556822
Bug 1557427 - Port bug 1556822: Add the display color profile to about:support. r=jorgk
mail/components/about-support/content/aboutSupport.js
--- a/mail/components/about-support/content/aboutSupport.js
+++ b/mail/components/about-support/content/aboutSupport.js
@@ -392,19 +392,21 @@ var snapshotFormatters = {
     // @where    The name in "graphics-<name>-tbody", of the element to append to.
     function addRow(where, key, value) {
       addRows(where, [buildRow(key, value)]);
     }
     if ("info" in data) {
       apzInfo = formatApzInfo(data.info);
 
       let trs = sortedArrayFromObject(data.info).map(function([prop, val]) {
+        let td = $.new("td", String(val));
+        td.style["word-break"] = "break-all";
         return $.new("tr", [
           $.new("th", prop, "column"),
-          $.new("td", String(val)),
+          td,
         ]);
       });
       addRows("diagnostics", trs);
 
       delete data.info;
     }
 
     let windowUtils = window.windowUtils;