[tbb-commits] [tor-browser/tor-browser-68.1.0esr-9.0-3] squash! TB4: Tor Browser's Firefox preference overrides.

gk at torproject.org gk at torproject.org
Thu Oct 17 18:24:00 UTC 2019


commit 947d477eb9289ebcdbbf48ee77609a6d7f395785
Author: Matthew Finkel <Matthew.Finkel at gmail.com>
Date:   Fri Oct 11 15:16:17 2019 +0000

    squash! TB4: Tor Browser's Firefox preference overrides.
    
    Disable Presentation API everywhere
---
 browser/app/profile/000-tor-browser.js | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/browser/app/profile/000-tor-browser.js b/browser/app/profile/000-tor-browser.js
index 4c244b49d181..974f8c31af17 100644
--- a/browser/app/profile/000-tor-browser.js
+++ b/browser/app/profile/000-tor-browser.js
@@ -364,6 +364,17 @@ pref("browser.taskbar.lists.tasks.enabled", false);
 pref("browser.taskbar.lists.recent.enabled", false);
 #endif
 
+// Disable Presentation API
+pref("dom.presentation.controller.enabled", false);
+pref("dom.presentation.enabled", false);
+pref("dom.presentation.discoverable", false);
+pref("dom.presentation.discoverable.encrypted", false);
+pref("dom.presentation.discovery.enabled", false);
+pref("dom.presentation.receiver.enabled", false);
+
+pref("dom.audiochannel.audioCompeting", false);
+pref("dom.audiochannel.mediaControl", false);
+
 #expand pref("torbrowser.version", __TOR_BROWSER_VERSION_QUOTED__);
 
 // If we are bundling fonts, whitelist those bundled fonts, and restrict system fonts to a selection.





More information about the tbb-commits mailing list