summaryrefslogtreecommitdiffstats
path: root/toolkit/modules/Troubleshoot.jsm
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-08-01 09:34:24 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-08-01 09:34:24 +0200
commitd84ee90be10b67358a2a2340041337aec0cf04d8 (patch)
tree5358fd8d5d4e8f0b1bf1dd43ec7cdcb29e95427a /toolkit/modules/Troubleshoot.jsm
parente7f7100ba6759f30295dbc49f819ebb9c4785298 (diff)
downloadUXP-d84ee90be10b67358a2a2340041337aec0cf04d8.tar
UXP-d84ee90be10b67358a2a2340041337aec0cf04d8.tar.gz
UXP-d84ee90be10b67358a2a2340041337aec0cf04d8.tar.lz
UXP-d84ee90be10b67358a2a2340041337aec0cf04d8.tar.xz
UXP-d84ee90be10b67358a2a2340041337aec0cf04d8.zip
Bug 1341957 - Add webgl.getSupportedExtensions() to about:support
Diffstat (limited to 'toolkit/modules/Troubleshoot.jsm')
-rw-r--r--toolkit/modules/Troubleshoot.jsm4
1 files changed, 3 insertions, 1 deletions
diff --git a/toolkit/modules/Troubleshoot.jsm b/toolkit/modules/Troubleshoot.jsm
index 65342b623..8d84eec8c 100644
--- a/toolkit/modules/Troubleshoot.jsm
+++ b/toolkit/modules/Troubleshoot.jsm
@@ -422,6 +422,7 @@ var dataProviders = {
function GetWebGLInfo(data, keyPrefix, contextType) {
data[keyPrefix + "Renderer"] = "-";
data[keyPrefix + "Version"] = "-";
+ data[keyPrefix + "DriverExtensions"] = "-";
data[keyPrefix + "Extensions"] = "-";
data[keyPrefix + "WSIInfo"] = "-";
@@ -456,6 +457,7 @@ var dataProviders = {
return;
}
+ data[keyPrefix + "Extensions"] = gl.getSupportedExtensions().join(" ");
let ext = gl.getExtension("MOZ_debug_get");
// This extension is unconditionally available to chrome. No need to check.
@@ -464,7 +466,7 @@ var dataProviders = {
data[keyPrefix + "Renderer"] = vendor + " -- " + renderer;
data[keyPrefix + "Version"] = ext.getParameter(gl.VERSION);
- data[keyPrefix + "Extensions"] = ext.getParameter(ext.EXTENSIONS);
+ data[keyPrefix + "DriverExtensions"] = ext.getParameter(ext.EXTENSIONS);
data[keyPrefix + "WSIInfo"] = ext.getParameter(ext.WSI_INFO);