commit 9856260bb92d4759b5b66c8f661ab00f22981c24
parent bfea5908ff670b0931176528233c546d2fbf5748
Author: Thomas Wisniewski <twisniewski@mozilla.com>
Date: Thu, 16 Oct 2025 16:12:14 +0000
Bug 1975927 - remove our UA override for trafficnews.jp; r=webcompat-reviewers,ksenia
Differential Revision: https://phabricator.services.mozilla.com/D268788
Diffstat:
2 files changed, 1 insertion(+), 25 deletions(-)
diff --git a/browser/extensions/webcompat/data/interventions.json b/browser/extensions/webcompat/data/interventions.json
@@ -5081,21 +5081,6 @@
}
]
},
- "1975927": {
- "label": "trafficnews.jp",
- "bugs": {
- "1975927": {
- "issue": "desktop-layout-not-mobile",
- "matches": ["*://trafficnews.jp/*"]
- }
- },
- "interventions": [
- {
- "platforms": ["android"],
- "ua_string": ["Chrome_with_FxQuantum"]
- }
- ]
- },
"1976200": {
"label": "unak.medlemssidor.org",
"bugs": {
diff --git a/testing/webcompat/interventions/tests/test_1975927_trafficnews_jp.py b/testing/webcompat/interventions/tests/test_1975927_trafficnews_jp.py
@@ -8,16 +8,7 @@ MOBILE_CSS = "#main-column"
@pytest.mark.only_platforms("android")
@pytest.mark.asyncio
@pytest.mark.without_interventions
-async def test_disabled(client):
- await client.navigate(URL, wait="none")
- assert client.await_css(DESKTOP_CSS, is_displayed=True)
- assert not client.find_css(MOBILE_CSS, is_displayed=True)
-
-
-@pytest.mark.only_platforms("android")
-@pytest.mark.asyncio
-@pytest.mark.with_interventions
-async def test_enabled(client):
+async def test_regression(client):
await client.navigate(URL, wait="none")
assert client.await_css(MOBILE_CSS, is_displayed=True)
assert not client.find_css(DESKTOP_CSS, is_displayed=True)