[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 38cce45a1a06f24f1140d3e9c0773de1b67981b1
Author: Kathy Brade <brade@xxxxxxxxxxxxxxxxx>
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 cd4a66093c53..a5517dfad326 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":



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits