1
0
Fork 0

No issue: Uncomment forgotten assert

master
Hakkı Kaan Çalışkan 2020-07-15 18:30:09 +03:00 committed by Emily Kager
parent 667261f511
commit 057711e6fb
1 changed files with 1 additions and 2 deletions

View File

@ -345,8 +345,7 @@ private fun EngineSession.TrackingProtectionPolicy.assertPolicyEquals(
checkPrivacy: Boolean
) {
assertEquals(this.cookiePolicy, actual.cookiePolicy)
// TODO Uncomment this assertion after the fix in AC#6079 lands
// assertEquals(this.strictSocialTrackingProtection, actual.strictSocialTrackingProtection)
assertEquals(this.strictSocialTrackingProtection, actual.strictSocialTrackingProtection)
// E.g., atm, RECOMMENDED == AD + ANALYTICS + SOCIAL + TEST + MOZILLA_SOCIAL + CRYPTOMINING.
// If all of these are set manually, the equality check should not fail
if (this.trackingCategories.toInt() != actual.trackingCategories.toInt()) {