[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



Title: GitLab

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

Commits:

1 changed file:

Changes:

  • components/concept/engine/src/main/java/mozilla/components/concept/engine/EngineSession.kt
    ... ... @@ -8,8 +8,8 @@ import android.content.Intent
    8 8
     import android.graphics.Bitmap
    
    9 9
     import androidx.annotation.CallSuper
    
    10 10
     import mozilla.components.concept.engine.EngineSession.TrackingProtectionPolicy.Companion.RECOMMENDED
    
    11
    -import mozilla.components.concept.engine.EngineSession.TrackingProtectionPolicy.CookiePolicy.ACCEPT_ALL
    
    12 11
     import mozilla.components.concept.engine.EngineSession.TrackingProtectionPolicy.CookiePolicy.ACCEPT_NON_TRACKERS
    
    12
    +import mozilla.components.concept.engine.EngineSession.TrackingProtectionPolicy.CookiePolicy.ACCEPT_ONLY_FIRST_PARTY
    
    13 13
     import mozilla.components.concept.engine.content.blocking.Tracker
    
    14 14
     import mozilla.components.concept.engine.history.HistoryItem
    
    15 15
     import mozilla.components.concept.engine.manifest.WebAppManifest
    
    ... ... @@ -297,7 +297,7 @@ abstract class EngineSession(
    297 297
     
    
    298 298
                 fun none() = TrackingProtectionPolicy(
    
    299 299
                     trackingCategories = arrayOf(TrackingCategory.NONE),
    
    300
    -                cookiePolicy = ACCEPT_ALL
    
    300
    +                cookiePolicy = ACCEPT_ONLY_FIRST_PARTY
    
    301 301
                 )
    
    302 302
     
    
    303 303
                 /**
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits