diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-08-01 09:34:24 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-08-01 09:34:24 +0200 |
commit | d84ee90be10b67358a2a2340041337aec0cf04d8 (patch) | |
tree | 5358fd8d5d4e8f0b1bf1dd43ec7cdcb29e95427a /toolkit/modules/Troubleshoot.jsm | |
parent | e7f7100ba6759f30295dbc49f819ebb9c4785298 (diff) | |
download | UXP-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.jsm | 4 |
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); |