summaryrefslogtreecommitdiffstats
path: root/toolkit/modules
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/modules')
-rw-r--r--toolkit/modules/Troubleshoot.jsm4
-rw-r--r--toolkit/modules/tests/browser/browser_Troubleshoot.js6
2 files changed, 9 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);
diff --git a/toolkit/modules/tests/browser/browser_Troubleshoot.js b/toolkit/modules/tests/browser/browser_Troubleshoot.js
index e449e99a3..4124be1fb 100644
--- a/toolkit/modules/tests/browser/browser_Troubleshoot.js
+++ b/toolkit/modules/tests/browser/browser_Troubleshoot.js
@@ -304,6 +304,9 @@ const SNAPSHOT_SCHEMA = {
webgl1Version: {
type: "string",
},
+ webgl1DriverExtensions: {
+ type: "string",
+ },
webgl1Extensions: {
type: "string",
},
@@ -316,6 +319,9 @@ const SNAPSHOT_SCHEMA = {
webgl2Version: {
type: "string",
},
+ webgl2DriverExtensions: {
+ type: "string",
+ },
webgl2Extensions: {
type: "string",
},