[tor-commits] [tor-browser/tor-browser-88.0b4-10.5-1] Bug 16439: Remove screencasting code

sysrqb at torproject.org sysrqb at torproject.org
Tue Apr 20 02:43:32 UTC 2021


commit 2f9027b3235a3cab83a309a7cb64d421ca1f8f59
Author: Kathy Brade <brade at pearlcrescent.com>
Date:   Wed Jun 24 11:01:11 2015 -0400

    Bug 16439: Remove screencasting code
    
    We avoid including the screencasting code on mobile (it got ripped out
    for desktop in bug 1393582) by simply excluding the related JS modules
    from Tor Browser.
---
 toolkit/modules/moz.build | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/toolkit/modules/moz.build b/toolkit/modules/moz.build
index b34e9e1df874..5e72841c8ef6 100644
--- a/toolkit/modules/moz.build
+++ b/toolkit/modules/moz.build
@@ -263,10 +263,11 @@ if "Android" != CONFIG["OS_TARGET"]:
     ]
 else:
     DEFINES["ANDROID"] = True
-    EXTRA_JS_MODULES += [
-        "secondscreen/RokuApp.jsm",
-        "secondscreen/SimpleServiceDiscovery.jsm",
-    ]
+    if not CONFIG["TOR_BROWSER_VERSION"]:
+        EXTRA_JS_MODULES += [
+            "secondscreen/RokuApp.jsm",
+            "secondscreen/SimpleServiceDiscovery.jsm",
+        ]
 
 
 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":





More information about the tor-commits mailing list