tor-browser

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

commit 5b8a5eeaa0cd607d115e2f45be0b0c9bf5baad13
parent 9856260bb92d4759b5b66c8f661ab00f22981c24
Author: Thomas Wisniewski <twisniewski@mozilla.com>
Date:   Thu, 16 Oct 2025 16:12:15 +0000

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

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

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

diff --git a/browser/extensions/webcompat/data/interventions.json b/browser/extensions/webcompat/data/interventions.json @@ -1069,21 +1069,6 @@ } ] }, - "1827678_119012": { - "label": "kt.com", - "bugs": { - "1944036": { - "issue": "firefox-blocked-completely", - "matches": ["*://*.kt.com/*"] - } - }, - "interventions": [ - { - "platforms": ["desktop"], - "ua_string": ["Chrome"] - } - ] - }, "1827678_119402": { "label": "oirsa.org", "bugs": { diff --git a/testing/webcompat/interventions/tests/test_1827678_119012_roaming_kt_com.py b/testing/webcompat/interventions/tests/test_1827678_119012_roaming_kt_com.py @@ -1,37 +0,0 @@ -import pytest - -URL = "https://roaming.kt.com/esim/eng/reserve.asp" - -SUPPORTED_ALERT = "collection and use of private information is necessary" -UNSUPPORTED_ALERT = "browser is not supported" - - -async def shows_unsupported_alert(client): - # the page loads for a long time; let's not wait unnecessarily - await client.make_preload_script( - """ - const int = setInterval(() => { - if (window.simplepay_view) { - clearInterval(int); - window.simplepay_view(); - } - }, 100); - """ - ) - await client.navigate(URL, wait="none") - which_alert = await client.await_alert([SUPPORTED_ALERT, UNSUPPORTED_ALERT]) - return UNSUPPORTED_ALERT in which_alert - - -@pytest.mark.skip_platforms("android") -@pytest.mark.asyncio -@pytest.mark.with_interventions -async def test_enabled(client): - assert not await shows_unsupported_alert(client) - - -@pytest.mark.skip_platforms("android") -@pytest.mark.asyncio -@pytest.mark.without_interventions -async def test_disabled(client): - assert await shows_unsupported_alert(client)