Bug 1466511 - [1.0] Default to block all tracker categories. r=jchen
authorEugen Sawin <esawin@mozilla.com>
Wed, 13 Jun 2018 01:10:53 +0200
changeset 479630 f444f8afb35552237991f5ad2e5125c5c95b4a0d
parent 479629 b5f06c68cf2731c4ebd4a95e07b7d7672be6e5ab
child 479631 280327567bdf4ec76081a97c63dc1ec9f76550c7
push id1757
push userffxbld-merge
push dateFri, 24 Aug 2018 17:02:43 +0000
treeherdermozilla-release@736023aebdb1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjchen
bugs1466511
milestone62.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1466511 - [1.0] Default to block all tracker categories. r=jchen
mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoRuntimeSettings.java
--- a/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoRuntimeSettings.java
+++ b/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoRuntimeSettings.java
@@ -259,17 +259,18 @@ public final class GeckoRuntimeSettings 
         "browser.display.use_document_fonts", true);
     /* package */ Pref<Integer> mCookieBehavior = new Pref<Integer>(
         "network.cookie.cookieBehavior", COOKIE_ACCEPT_ALL);
     /* package */ Pref<Integer> mCookieLifetime = new Pref<Integer>(
         "network.cookie.lifetimePolicy", COOKIE_LIFETIME_NORMAL);
     /* package */ Pref<Integer> mCookieLifetimeDays = new Pref<Integer>(
         "network.cookie.lifetime.days", 90);
     /* package */ Pref<String> mTrackingProtection = new Pref<String>(
-        "urlclassifier.trackingTable", "");
+        "urlclassifier.trackingTable",
+        TrackingProtection.buildPrefValue(TrackingProtectionDelegate.CATEGORY_ALL));
 
     /* package */ boolean mNativeCrashReporting;
     /* package */ boolean mJavaCrashReporting;
     /* package */ boolean mDebugPause;
 
     private final Pref<?>[] mPrefs = new Pref<?>[] {
         mCookieBehavior, mCookieLifetime, mCookieLifetimeDays, mJavaScript,
         mRemoteDebugging, mTrackingProtection, mWebFonts