summaryrefslogtreecommitdiffstats
path: root/toolkit/content/aboutSupport.js
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-08-01 20:45:58 +0200
committerGitHub <noreply@github.com>2018-08-01 20:45:58 +0200
commitf8761cf8c5233f75123a7245a1e6a0aa12e22160 (patch)
treec85031f115b088d6b60af6f7ad34a9ca9a64a134 /toolkit/content/aboutSupport.js
parente79f2ee69455df701e559c10f8a9408fe8870281 (diff)
parentd84ee90be10b67358a2a2340041337aec0cf04d8 (diff)
downloadUXP-f8761cf8c5233f75123a7245a1e6a0aa12e22160.tar
UXP-f8761cf8c5233f75123a7245a1e6a0aa12e22160.tar.gz
UXP-f8761cf8c5233f75123a7245a1e6a0aa12e22160.tar.lz
UXP-f8761cf8c5233f75123a7245a1e6a0aa12e22160.tar.xz
UXP-f8761cf8c5233f75123a7245a1e6a0aa12e22160.zip
Merge pull request #688 from janekptacijarabaci/about-support_WebGL-information_expand_1
Expand about:support WebGL information
Diffstat (limited to 'toolkit/content/aboutSupport.js')
-rw-r--r--toolkit/content/aboutSupport.js15
1 files changed, 13 insertions, 2 deletions
diff --git a/toolkit/content/aboutSupport.js b/toolkit/content/aboutSupport.js
index 4e42a5687..b1d7ab5f6 100644
--- a/toolkit/content/aboutSupport.js
+++ b/toolkit/content/aboutSupport.js
@@ -180,9 +180,12 @@ var snapshotFormatters = {
title = key;
}
}
+ let td = $.new("td", value);
+ td.style["white-space"] = "pre-wrap";
+
return $.new("tr", [
$.new("th", title, "column"),
- $.new("td", value),
+ td,
]);
}
@@ -306,8 +309,16 @@ var snapshotFormatters = {
apzInfo.length
? apzInfo.join("; ")
: localizedMsg(["apzNone"]));
- addRowFromKey("features", "webglRenderer");
+ addRowFromKey("features", "webgl1WSIInfo");
+ addRowFromKey("features", "webgl1Renderer");
+ addRowFromKey("features", "webgl1Version");
+ addRowFromKey("features", "webgl1DriverExtensions");
+ addRowFromKey("features", "webgl1Extensions");
+ addRowFromKey("features", "webgl2WSIInfo");
addRowFromKey("features", "webgl2Renderer");
+ addRowFromKey("features", "webgl2Version");
+ addRowFromKey("features", "webgl2DriverExtensions");
+ addRowFromKey("features", "webgl2Extensions");
addRowFromKey("features", "supportsHardwareH264", "hardwareH264");
addRowFromKey("features", "currentAudioBackend", "audioBackend");
addRowFromKey("features", "direct2DEnabled", "#Direct2D");