Revert a part of "firefox: 56.0.2 -> 57.0"

This reverts a part of commit 559433d0db.

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).
This commit is contained in:
SLNOS 2017-11-15 00:00:00 +00:00 committed by Jan Malakhovski
parent aeb32cf187
commit 3d8260fcf6

View File

@ -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" ]