tor-browser

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

commit 41af54efe3f1f3b29b8e8a6b9c0335e8a293c722
parent 6229918ebc89bcf19d4c5ee594940c9e02d9dd35
Author: Thomas Wisniewski <twisniewski@mozilla.com>
Date:   Thu, 16 Oct 2025 16:12:13 +0000

Bug 1915541 - remove our UA override for app.sunroom.sp; r=webcompat-reviewers,ksenia

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

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

diff --git a/browser/extensions/webcompat/data/interventions.json b/browser/extensions/webcompat/data/interventions.json @@ -3588,21 +3588,6 @@ } ] }, - "1915541": { - "label": "app.sunroom.so", - "bugs": { - "1915541": { - "issue": "firefox-blocked-completely", - "matches": ["*://app.sunroom.so/*"] - } - }, - "interventions": [ - { - "platforms": ["all"], - "ua_string": ["add_Chrome"] - } - ] - }, "1916900": { "label": "vuemotion.santacasaba.org.br", "bugs": { diff --git a/testing/webcompat/interventions/tests/test_1915541_app_sunroom_so.py b/testing/webcompat/interventions/tests/test_1915541_app_sunroom_so.py @@ -1,30 +0,0 @@ -import pytest - -URL = "https://app.sunroom.so/" - -SUPPORTED_CSS = "button[data-testid='action-button']" -DRM_UNSUPPORTED_TEXT = "only supports devices with Widevine L1" -UNSUPPORTED_TEXT = "browser not supported" - - -@pytest.mark.asyncio -@pytest.mark.with_interventions -async def test_enabled(client): - await client.navigate(URL) - drm, supported = client.await_first_element_of( - [ - client.css(SUPPORTED_CSS), - client.text(DRM_UNSUPPORTED_TEXT), - ], - is_displayed=True, - ) - assert drm or supported - assert not client.find_text(UNSUPPORTED_TEXT) - - -@pytest.mark.asyncio -@pytest.mark.without_interventions -async def test_disabled(client): - await client.navigate(URL) - assert client.await_text(UNSUPPORTED_TEXT, is_displayed=True) - assert not client.find_css(SUPPORTED_CSS)