tor-browser

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

commit eea3df6f186d43b75226e3cfe9a76dc828463eeb
parent 833eb88189207b18c8b7714fcac6b80e18cc3882
Author: Thomas Wisniewski <twisniewski@mozilla.com>
Date:   Wed, 26 Nov 2025 23:06:57 +0000

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

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

Diffstat:
Mbrowser/extensions/webcompat/data/interventions.json | 15---------------
Mtesting/webcompat/interventions/tests/test_1991941_brawlstats_com.py | 13++-----------
2 files changed, 2 insertions(+), 26 deletions(-)

diff --git a/browser/extensions/webcompat/data/interventions.json b/browser/extensions/webcompat/data/interventions.json @@ -5814,21 +5814,6 @@ } ] }, - "1991941": { - "label": "brawlstats.com", - "bugs": { - "1991941": { - "issue": "desktop-layout-not-mobile", - "matches": ["*://brawlstats.com/*"] - } - }, - "interventions": [ - { - "platforms": ["android"], - "ua_string": ["Chrome_with_FxQuantum"] - } - ] - }, "1992121": { "label": "tutor-uksouth.classroom.cloud", "bugs": { diff --git a/testing/webcompat/interventions/tests/test_1991941_brawlstats_com.py b/testing/webcompat/interventions/tests/test_1991941_brawlstats_com.py @@ -7,17 +7,8 @@ MOBILE_CSS = "#app.isMobile" @pytest.mark.only_platforms("android") @pytest.mark.asyncio -@pytest.mark.with_interventions -async def test_enabled(client): +@pytest.mark.without_interventions +async def test_regression(client): await client.navigate(URL) assert client.await_css(MOBILE_CSS, is_displayed=True) assert not client.find_css(DESKTOP_CSS, is_displayed=True) - - -@pytest.mark.only_platforms("android") -@pytest.mark.asyncio -@pytest.mark.without_interventions -async def test_disabled(client): - await client.navigate(URL) - assert client.await_css(DESKTOP_CSS, is_displayed=True) - assert not client.find_css(MOBILE_CSS, is_displayed=True)