From ce78eb8fb91c17b45447a1705e2fe86ef1663116 Mon Sep 17 00:00:00 2001 From: soncuteanca Date: Wed, 15 Oct 2025 19:02:42 +0300 Subject: [PATCH 1/2] stabilization tp content blocked on pb --- .../test_third_party_content_blocked_private_browsing.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/security_and_privacy/test_third_party_content_blocked_private_browsing.py b/tests/security_and_privacy/test_third_party_content_blocked_private_browsing.py index dfc4bfb93..60a1be351 100644 --- a/tests/security_and_privacy/test_third_party_content_blocked_private_browsing.py +++ b/tests/security_and_privacy/test_third_party_content_blocked_private_browsing.py @@ -12,6 +12,11 @@ def test_case(): return "446323" +@pytest.fixture() +def add_to_prefs_list(): + return [("privacy.trackingprotection.pbmode.enabled", True)] + + ALLOWED_TRACKING_URLS = { "https://content-track-digest256.dummytracker.org", "https://ads-track-digest256.dummytracker.org", From 99c9ed1cafc5532483a64df276cd70a435b00f91 Mon Sep 17 00:00:00 2001 From: soncuteanca Date: Wed, 15 Oct 2025 19:13:43 +0300 Subject: [PATCH 2/2] Confirm the fix on mac locally and remove the skip test setting --- .../test_third_party_content_blocked_private_browsing.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/security_and_privacy/test_third_party_content_blocked_private_browsing.py b/tests/security_and_privacy/test_third_party_content_blocked_private_browsing.py index 60a1be351..aa55dd4ac 100644 --- a/tests/security_and_privacy/test_third_party_content_blocked_private_browsing.py +++ b/tests/security_and_privacy/test_third_party_content_blocked_private_browsing.py @@ -1,5 +1,3 @@ -from platform import system - import pytest from selenium.webdriver import Firefox @@ -108,10 +106,6 @@ def test_third_party_content_blocked_private_browsing_allowed_tracking(driver: F assert item.get_attribute("value") in ALLOWED_TRACKING_URLS -@pytest.mark.skipif( - system().lower().startswith("darwin") or system().lower().startswith("linux"), - reason="bug 1994060", -) def test_third_party_content_private_browsing_tracking_statuses(driver: Firefox): """ C446323.3: Ensure that the statuses of some third party content are loaded properly