tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 7183da629743a0d10d016b0b50efcec03b525bb3
parent 89264d4d619c240b9cc3f007aa2ba5f4afb7992b
Author: Thomas Wisniewski <twisniewski@mozilla.com>
Date:   Mon,  6 Oct 2025 13:56:50 +0000

Bug 1875540 - remove our UA override for allstate.com; r=webcompat-reviewers,ksenia

Differential Revision: https://phabricator.services.mozilla.com/D267596

Diffstat:
Mbrowser/extensions/webcompat/data/interventions.json | 15---------------
Dtesting/webcompat/interventions/tests/test_1875540_allstate_com.py | 24------------------------
2 files changed, 0 insertions(+), 39 deletions(-)

diff --git a/browser/extensions/webcompat/data/interventions.json b/browser/extensions/webcompat/data/interventions.json @@ -1719,21 +1719,6 @@ } ] }, - "1875540": { - "label": "allstate.com", - "bugs": { - "1875540": { - "issue": "unsupported-warning", - "matches": ["*://*.allstate.com/*"] - } - }, - "interventions": [ - { - "platforms": ["all"], - "ua_string": ["Chrome"] - } - ] - }, "1878024": { "label": "g1.globo.com", "bugs": { diff --git a/testing/webcompat/interventions/tests/test_1875540_allstate_com.py b/testing/webcompat/interventions/tests/test_1875540_allstate_com.py @@ -1,24 +0,0 @@ -import pytest - -URL = "https://myaccountrwd.allstate.com/anon/account/login/logout" - -LOGGED_OUT_TEXT = "You have logged out of your account" -UNSUPPORTED_CSS = "#warningMessagePanel" - - -async def is_warning_shown(client): - await client.navigate(URL) - client.await_text(LOGGED_OUT_TEXT, is_displayed=True) - return client.find_css(UNSUPPORTED_CSS, is_displayed=True) - - -@pytest.mark.asyncio -@pytest.mark.with_interventions -async def test_enabled(client): - assert not await is_warning_shown(client) - - -@pytest.mark.asyncio -@pytest.mark.without_interventions -async def test_disabled(client): - assert await is_warning_shown(client)