tor-browser

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

commit 3d6b6238c9eafaad87fe0e5f33b176f07eb3d3cb
parent 668945c03c907c556074fcc422187c4161ce38fb
Author: Thomas Wisniewski <twisniewski@mozilla.com>
Date:   Thu,  8 Jan 2026 22:02:18 +0000

Bug 1898994 - remove our UA override for eportal.uestc.edu.cn; r=ksenia,webcompat-reviewers

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

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

diff --git a/browser/extensions/webcompat/data/interventions.json b/browser/extensions/webcompat/data/interventions.json @@ -2431,21 +2431,6 @@ } ] }, - "1898994": { - "label": "eportal.uestc.edu.cn", - "bugs": { - "1898994": { - "issue": "firefox-blocked-completely", - "matches": ["*://eportal.uestc.edu.cn/*"] - } - }, - "interventions": [ - { - "platforms": ["all"], - "ua_string": ["add_Chrome"] - } - ] - }, "1898996": { "label": "oculus.com and meta.com", "bugs": { diff --git a/testing/webcompat/interventions/tests/test_1898994_eportal_uestc_edu_cn.py b/testing/webcompat/interventions/tests/test_1898994_eportal_uestc_edu_cn.py @@ -1,22 +0,0 @@ -import pytest - -URL = "https://eportal.uestc.edu.cn/new/portal/browerTips.html" - -SUPPORTED_CSS = "input[id=username], #ampLoginArticle" -UNSUPPORTED_CSS = "#norSupportBrowser" - - -@pytest.mark.asyncio -@pytest.mark.with_interventions -async def test_enabled(client): - await client.navigate(URL) - client.await_css(SUPPORTED_CSS, is_displayed=True) - assert not client.find_css(UNSUPPORTED_CSS, is_displayed=True) - - -@pytest.mark.asyncio -@pytest.mark.without_interventions -async def test_disabled(client): - await client.navigate(URL) - client.await_css(UNSUPPORTED_CSS, is_displayed=True) - assert not client.find_css(SUPPORTED_CSS, is_displayed=True)