Skip to content
Snippets Groups Projects
Unverified Commit d3423ea9 authored by Matthew Finkel's avatar Matthew Finkel
Browse files

Merge branch 'bug_40020_00' into android-components-60.0.3-10.0-1

parents 2ca9d997 6f1380d0
No related branches found
No related tags found
1 merge request!25Bug 40020: Disable third-party cookies
......@@ -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
)
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment