commit 100fea0348ed02fd181080fbc2b131994adaab4b
Author: Georg Koppen <gk(a)torproject.org>
Date: Mon May 22 12:41:17 2017 +0000
fixup! TB3: Tor Browser's official .mozconfigs.
Make EME comment clearer for ESR52.
---
.mozconfig | 2 +-
.mozconfig-mac | 3 +--
.mozconfig-mingw | 2 +-
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/.mozconfig b/.mozconfig
index cde5b49..4eeb339 100755
--- a/.mozconfig
+++ b/.mozconfig
@@ -23,7 +23,7 @@ ac_add_options -…
[View More]-disable-debug
ac_add_options --disable-maintenance-service
ac_add_options --disable-crashreporter
ac_add_options --disable-webrtc
-# Let's not compile EME at least until we can enable ClearKey and only Clearkey.
+# Let's make sure no preference is enabling either Adobe's or Google's CDM.
ac_add_options --disable-eme
#ac_add_options --disable-ctypes
ac_add_options --enable-jemalloc=4
diff --git a/.mozconfig-mac b/.mozconfig-mac
index 7088e48..844ee2e 100644
--- a/.mozconfig-mac
+++ b/.mozconfig-mac
@@ -49,7 +49,6 @@ ac_add_options --disable-crashreporter
ac_add_options --disable-maintenance-service
ac_add_options --disable-webrtc
ac_add_options --disable-tests
-# Let's not compile EME at least until we can enable ClearKey and only Clearkey.
-# (Apart from that there is no Adobe CRM module for OS X right now)
+# Let's make sure no preference is enabling either Adobe's or Google's CDM.
ac_add_options --disable-eme
# ac_add_options --disable-ctypes
diff --git a/.mozconfig-mingw b/.mozconfig-mingw
index de86c49b..af30573 100644
--- a/.mozconfig-mingw
+++ b/.mozconfig-mingw
@@ -21,7 +21,7 @@ ac_add_options --enable-verify-mar
# We can't build the sandbox code with mingw-w64:
# https://bugzilla.mozilla.org/show_bug.cgi?id=1042426
ac_add_options --disable-sandbox
-# EME is not running without sandbox. Thus, don't compile it in the first place.
+# Let's make sure no preference is enabling either Adobe's or Google's CDM.
ac_add_options --disable-eme
ac_add_options --disable-crashreporter
ac_add_options --disable-maintenance-service
[View Less]
commit e948ae5d404321a1ed0316ffb97baf45ee0163a5
Author: Georg Koppen <gk(a)torproject.org>
Date: Mon May 22 12:44:40 2017 +0000
Bug 16285: Exclude ClearKey system for now
In the past the ClearKey system had not been compiled when specifying
--disable-eme. But that changed and it is even bundled nowadays (see:
Mozilla's bug 1300654). We don't want to ship it right now as the use
case for it is not really visible while the code had security
vulnerabilities in …
[View More]the past.
---
browser/installer/package-manifest.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in
index 43c89a9..1233249 100644
--- a/browser/installer/package-manifest.in
+++ b/browser/installer/package-manifest.in
@@ -814,8 +814,8 @@ bin/libfreebl_32int64_3.so
; media
-@RESPATH@/gmp-clearkey/0.1/@DLL_PREFIX@clearkey@DLL_SUFFIX@
-@RESPATH@/gmp-clearkey/0.1/clearkey.info
+;@RESPATH@/gmp-clearkey/0.1/@DLL_PREFIX@clearkey@DLL_SUFFIX@
+;@RESPATH@/gmp-clearkey/0.1/clearkey.info
; gfx
#ifdef XP_WIN
[View Less]
commit ba7cbd186c5692267ba80eb6a998c7abab2a76a9
Author: Georg Koppen <gk(a)torproject.org>
Date: Mon May 22 12:52:09 2017 +0000
fixup! TB4: Tor Browser's Firefox preference overrides.
Adapt preferences to take new EME related ones into account.
---
browser/app/profile/000-tor-browser.js | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/browser/app/profile/000-tor-browser.js b/browser/app/profile/000-tor-browser.js
index 7b0ad71..53d1ac2 …
[View More]100644
--- a/browser/app/profile/000-tor-browser.js
+++ b/browser/app/profile/000-tor-browser.js
@@ -228,12 +228,15 @@ pref("media.gmp-manager.url.override", "data:text/plain,");
// server. There is a local fallback that must be blocked now as well. See:
// https://bugzilla.mozilla.org/show_bug.cgi?id=1267495.
pref("media.gmp-manager.updateEnabled", false);
-// EME prefs: Strictly speaking these prefs don't need to be set as we are
-// using the --disable-eme compile flag. However, in order to not confuse users,
-// who might stumble upon them while looking into about:config, we set them to
-// 'false' communicating that EME is really disabled.
+// Mozilla is relying on preferences to make sure no DRM blob is downloaded and
+// run. Even though those prefs should be set correctly by specifying
+// --disable-eme (which we do), we disable all of them here as well for defense
+// in depth.
pref("browser.eme.ui.enabled", false);
+pref("media.gmp-eme-adobe.visible", false);
pref("media.gmp-eme-adobe.enabled", false);
+pref("media.gmp-widevinecdm.visible", false);
+pref("media.gmp-widevinecdm.enabled", false);
pref("media.eme.enabled", false);
pref("media.eme.apiVisible", false);
// WebIDE can bypass proxy settings for remote debugging. It also downloads
[View Less]
commit 886808dc4e21eef3595fa1042f792927bb898193
Author: Georg Koppen <gk(a)torproject.org>
Date: Mon May 22 08:36:35 2017 +0000
fixup! TB4: Tor Browser's Firefox preference overrides.
The Battery API is not available to content anymore since Firefox 52.
Thus, we don't need to set `dom.battery.enabled` anymore. Fixes bug
5293.
---
browser/app/profile/000-tor-browser.js | 1 -
1 file changed, 1 deletion(-)
diff --git a/browser/app/profile/000-tor-browser.js b/…
[View More]browser/app/profile/000-tor-browser.js
index fb7b078..7b0ad71 100644
--- a/browser/app/profile/000-tor-browser.js
+++ b/browser/app/profile/000-tor-browser.js
@@ -137,7 +137,6 @@ pref("social.whitelist", "");
pref("webgl.min_capability_mode", true);
pref("webgl.disable-extensions", true);
pref("webgl.disable-fail-if-major-performance-caveat", true);
-pref("dom.battery.enabled", false); // fingerprinting due to differing OS implementations
pref("dom.network.enabled",false); // fingerprinting due to differing OS implementations
pref("gfx.downloadable_fonts.fallback_delay", -1);
pref("general.appname.override", "Netscape");
[View Less]
commit 885479878d591ce61fa573912eae4ea062dc54c6
Author: Georg Koppen <gk(a)torproject.org>
Date: Mon May 22 08:36:35 2017 +0000
fixup! TB4: Tor Browser's Firefox preference overrides.
The Battery API is not available to content anymore since Firefox 52.
Thus, we don't need to set `dom.battery.enabled` anymore. Fixes bug
5293.
---
browser/app/profile/000-tor-browser.js | 1 -
1 file changed, 1 deletion(-)
diff --git a/browser/app/profile/000-tor-browser.js b/…
[View More]browser/app/profile/000-tor-browser.js
index fb7b078..7b0ad71 100644
--- a/browser/app/profile/000-tor-browser.js
+++ b/browser/app/profile/000-tor-browser.js
@@ -137,7 +137,6 @@ pref("social.whitelist", "");
pref("webgl.min_capability_mode", true);
pref("webgl.disable-extensions", true);
pref("webgl.disable-fail-if-major-performance-caveat", true);
-pref("dom.battery.enabled", false); // fingerprinting due to differing OS implementations
pref("dom.network.enabled",false); // fingerprinting due to differing OS implementations
pref("gfx.downloadable_fonts.fallback_delay", -1);
pref("general.appname.override", "Netscape");
[View Less]