[tbb-commits] [torbutton/master] Bug 21805: Add click-to-play button for WebGL

gk at torproject.org gk at torproject.org
Wed Jan 23 07:59:48 UTC 2019


commit 4306713f498584d85e9e7a3e2468d59126f9d3e0
Author: Georg Koppen <gk at torproject.org>
Date:   Thu Dec 13 07:50:53 2018 +0000

    Bug 21805: Add click-to-play button for WebGL
---
 src/modules/noscript-control.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/noscript-control.js b/src/modules/noscript-control.js
index 275f9dba..895889c8 100644
--- a/src/modules/noscript-control.js
+++ b/src/modules/noscript-control.js
@@ -17,7 +17,7 @@ let log = (level, msg) => logger.log(level, msg);
 // ## NoScript settings
 
 // Minimum and maximum capability states as controlled by NoScript.
-const max_caps = ["fetch", "font", "frame", "media", "object", "other", "script", "webgl"];
+const max_caps = ["fetch", "font", "frame", "media", "object", "other", "script"];
 const min_caps = ["frame", "other"];
 
 // Untrusted capabilities for [Standard, Safer, Safest] safety levels.
@@ -30,7 +30,7 @@ const untrusted_caps = [
 // Default capabilities for [Standard, Safer, Safest] safety levels.
 const default_caps = [
   max_caps, // standard: both http and https
-  ["fetch", "font", "frame", "object", "other", "script", "webgl"], // safer: https only
+  ["fetch", "font", "frame", "object", "other", "script"], // safer: https only
   min_caps, // safest: both http and https
 ];
 



More information about the tbb-commits mailing list