[tbb-commits] [Git][tpo/applications/android-components][android-components-60.0.3-10.0-1] 2 commits: Bug 40020: Disable third-party cookies

Matthew Finkel gitlab at torproject.org
Fri Oct 23 13:51:28 UTC 2020



Matthew Finkel pushed to branch android-components-60.0.3-10.0-1 at The Tor Project / Applications / android-components


Commits:
6f1380d0 by Matthew Finkel at 2020-10-22T18:36:03+00:00
Bug 40020: Disable third-party cookies

- - - - -
d3423ea9 by Matthew Finkel at 2020-10-23T13:51:03+00:00
Merge branch 'bug_40020_00' into android-components-60.0.3-10.0-1

- - - - -


1 changed file:

- components/concept/engine/src/main/java/mozilla/components/concept/engine/EngineSession.kt


Changes:

=====================================
components/concept/engine/src/main/java/mozilla/components/concept/engine/EngineSession.kt
=====================================
@@ -8,8 +8,8 @@ import android.content.Intent
 import android.graphics.Bitmap
 import androidx.annotation.CallSuper
 import mozilla.components.concept.engine.EngineSession.TrackingProtectionPolicy.Companion.RECOMMENDED
-import mozilla.components.concept.engine.EngineSession.TrackingProtectionPolicy.CookiePolicy.ACCEPT_ALL
 import mozilla.components.concept.engine.EngineSession.TrackingProtectionPolicy.CookiePolicy.ACCEPT_NON_TRACKERS
+import mozilla.components.concept.engine.EngineSession.TrackingProtectionPolicy.CookiePolicy.ACCEPT_ONLY_FIRST_PARTY
 import mozilla.components.concept.engine.content.blocking.Tracker
 import mozilla.components.concept.engine.history.HistoryItem
 import mozilla.components.concept.engine.manifest.WebAppManifest
@@ -297,7 +297,7 @@ abstract class EngineSession(
 
             fun none() = TrackingProtectionPolicy(
                 trackingCategories = arrayOf(TrackingCategory.NONE),
-                cookiePolicy = ACCEPT_ALL
+                cookiePolicy = ACCEPT_ONLY_FIRST_PARTY
             )
 
             /**



View it on GitLab: https://gitlab.torproject.org/tpo/applications/android-components/-/compare/2ca9d9972756388954e27bf40999c3b1038c0984...d3423ea99edb39a39d4a7cf2be455eedbb789816

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/android-components/-/compare/2ca9d9972756388954e27bf40999c3b1038c0984...d3423ea99edb39a39d4a7cf2be455eedbb789816
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20201023/b195319f/attachment-0001.htm>


More information about the tbb-commits mailing list