diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-06-27 19:32:26 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-06-27 19:32:26 +0200 |
commit | fe0d9a9d212f5bc884b334b20c91fc12f4f11a9e (patch) | |
tree | aab12b62c9f4c1889f469c6b4a967d83b951c3be /toolkit/modules | |
parent | 23d70a95d85e001a29945642ddf7cca6b32f15a3 (diff) | |
download | uxp-fe0d9a9d212f5bc884b334b20c91fc12f4f11a9e.tar.gz |
Fix "about:support"s "graphics" section when "webgl.disable-extensions" is true
Diffstat (limited to 'toolkit/modules')
-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 4c6ac558df..a862b1db46 100644 --- a/toolkit/modules/Troubleshoot.jsm +++ b/toolkit/modules/Troubleshoot.jsm @@ -460,7 +460,9 @@ var dataProviders = { // Eagerly free resources. let loseExt = gl.getExtension("WEBGL_lose_context"); - loseExt.loseContext(); + if (loseExt) { + loseExt.loseContext(); + } return contextInfo; |