From 3d8260fcf66981f63d6c6581a4183801142cf824 Mon Sep 17 00:00:00 2001 From: SLNOS Date: Wed, 15 Nov 2017 00:00:00 +0000 Subject: [PATCH] Revert a part of "firefox: 56.0.2 -> 57.0" This reverts a part of commit 559433d0db3979f77befe73ad5c65b8500277629. The problem with removing those options completely is that without them tor-browser's config differs from the official config (which may or may not be a problem for fingerprinting). --- pkgs/applications/networking/browsers/firefox/common.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/browsers/firefox/common.nix b/pkgs/applications/networking/browsers/firefox/common.nix index ccf762afbec..b8f57eb2edb 100644 --- a/pkgs/applications/networking/browsers/firefox/common.nix +++ b/pkgs/applications/networking/browsers/firefox/common.nix @@ -29,9 +29,11 @@ # Set to `privacySupport` or `false`. , webrtcSupport ? !privacySupport -, googleAPISupport ? !privacySupport +, geolocationSupport ? !privacySupport +, googleAPISupport ? geolocationSupport , crashreporterSupport ? false +, safeBrowsingSupport ? false , drmSupport ? false ## other @@ -159,8 +161,10 @@ stdenv.mkDerivation (rec { ++ flag gssSupport "negotiateauth" ++ lib.optional (!ffmpegSupport) "--disable-gstreamer" ++ flag webrtcSupport "webrtc" + ++ flag geolocationSupport "mozril-geoloc" ++ lib.optional googleAPISupport "--with-google-api-keyfile=ga" ++ flag crashreporterSupport "crashreporter" + ++ flag safeBrowsingSupport "safe-browsing" ++ lib.optional drmSupport "--enable-eme=widevine" ++ (if debugBuild then [ "--enable-debug" "--enable-profiling" ]