[tor-commits] [tor-browser/tor-browser-52.1.0esr-7.0-2] Bug 21972: about:support is partially broken
gk at torproject.org
gk at torproject.org
Tue May 30 07:35:13 UTC 2017
commit 4fef8cc56573a8513479bfb821406e7e8dfffcc5
Author: Georg Koppen <gk at torproject.org>
Date: Mon May 29 13:31:07 2017 +0000
Bug 21972: about:support is partially broken
---
toolkit/modules/Troubleshoot.jsm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/toolkit/modules/Troubleshoot.jsm b/toolkit/modules/Troubleshoot.jsm
index cc545b4..364d5e1 100644
--- a/toolkit/modules/Troubleshoot.jsm
+++ b/toolkit/modules/Troubleshoot.jsm
@@ -469,8 +469,11 @@ var dataProviders = {
// Eagerly free resources.
let loseExt = gl.getExtension("WEBGL_lose_context");
- loseExt.loseContext();
-
+ // This extension is not necessarily available. Check for it. Fixes bug
+ // 21972.
+ if (loseExt) {
+ loseExt.loseContext();
+ }
return contextInfo;
}
More information about the tor-commits
mailing list