[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-browser/tor-browser-52.1.1esr-7.0-1] Bug 21972: about:support is partially broken
commit 8bd3ef487932654d78bfab848b65fb04b0094e3b
Author: Georg Koppen <gk@xxxxxxxxxxxxxx>
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;
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits