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:
@@ -29,9 +29,11 @@
|
|||||||
# Set to `privacySupport` or `false`.
|
# Set to `privacySupport` or `false`.
|
||||||
|
|
||||||
, webrtcSupport ? !privacySupport
|
, webrtcSupport ? !privacySupport
|
||||||
, googleAPISupport ? !privacySupport
|
, geolocationSupport ? !privacySupport
|
||||||
|
, googleAPISupport ? geolocationSupport
|
||||||
, crashreporterSupport ? false
|
, crashreporterSupport ? false
|
||||||
|
|
||||||
|
, safeBrowsingSupport ? false
|
||||||
, drmSupport ? false
|
, drmSupport ? false
|
||||||
|
|
||||||
## other
|
## other
|
||||||
@@ -159,8 +161,10 @@ stdenv.mkDerivation (rec {
|
|||||||
++ flag gssSupport "negotiateauth"
|
++ flag gssSupport "negotiateauth"
|
||||||
++ lib.optional (!ffmpegSupport) "--disable-gstreamer"
|
++ lib.optional (!ffmpegSupport) "--disable-gstreamer"
|
||||||
++ flag webrtcSupport "webrtc"
|
++ flag webrtcSupport "webrtc"
|
||||||
|
++ flag geolocationSupport "mozril-geoloc"
|
||||||
++ lib.optional googleAPISupport "--with-google-api-keyfile=ga"
|
++ lib.optional googleAPISupport "--with-google-api-keyfile=ga"
|
||||||
++ flag crashreporterSupport "crashreporter"
|
++ flag crashreporterSupport "crashreporter"
|
||||||
|
++ flag safeBrowsingSupport "safe-browsing"
|
||||||
++ lib.optional drmSupport "--enable-eme=widevine"
|
++ lib.optional drmSupport "--enable-eme=widevine"
|
||||||
|
|
||||||
++ (if debugBuild then [ "--enable-debug" "--enable-profiling" ]
|
++ (if debugBuild then [ "--enable-debug" "--enable-profiling" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user