tor-browser

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

commit 2660e77da8e5c8fb91b5f9cb222518d80449cd41
parent aeff28708bcc06d6715ea1c56d6eb76578979eb5
Author: Thomas Wisniewski <twisniewski@mozilla.com>
Date:   Fri, 19 Dec 2025 23:16:53 +0000

Bug 1902383 - remove our webcompat intervention for wemakeprice.com; r=webcompat-reviewers,ksenia

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

Diffstat:
Mbrowser/extensions/webcompat/data/interventions.json | 17-----------------
Dbrowser/extensions/webcompat/injections/css/bug1902383-wpartner.wemakeprice.com-hide-recommendation.css | 11-----------
Dtesting/webcompat/interventions/tests/test_1902383_wpartner_wemakeprice_com.py | 22----------------------
3 files changed, 0 insertions(+), 50 deletions(-)

diff --git a/browser/extensions/webcompat/data/interventions.json b/browser/extensions/webcompat/data/interventions.json @@ -2769,23 +2769,6 @@ } ] }, - "1902383": { - "label": "wpartner.wemakeprice.com", - "bugs": { - "1902383": { - "issue": "unsupported-warning", - "matches": ["*://wpartner.wemakeprice.com/*"] - } - }, - "interventions": [ - { - "platforms": ["all"], - "content_scripts": { - "css": ["bug1902383-wpartner.wemakeprice.com-hide-recommendation.css"] - } - } - ] - }, "1902385": { "label": "bithumb.com", "bugs": { diff --git a/browser/extensions/webcompat/injections/css/bug1902383-wpartner.wemakeprice.com-hide-recommendation.css b/browser/extensions/webcompat/injections/css/bug1902383-wpartner.wemakeprice.com-hide-recommendation.css @@ -1,11 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -/** - * wpartner.wemakeprice.com - Recommends Chrome - * Bug #1902383 - https://bugzilla.mozilla.org/show_bug.cgi?id=1902383 - */ -#alert_browser { - display: none !important; -} diff --git a/testing/webcompat/interventions/tests/test_1902383_wpartner_wemakeprice_com.py b/testing/webcompat/interventions/tests/test_1902383_wpartner_wemakeprice_com.py @@ -1,22 +0,0 @@ -import asyncio - -import pytest - -URL = "https://wpartner.wemakeprice.com/login" - -FAILURE_TEXT = "크롬을" - - -@pytest.mark.asyncio -@pytest.mark.with_interventions -async def test_enabled(client): - await client.navigate(URL) - await asyncio.sleep(3) - assert not client.find_text(FAILURE_TEXT, is_displayed=True) - - -@pytest.mark.asyncio -@pytest.mark.without_interventions -async def test_disabled(client): - await client.navigate(URL, wait="none") - assert client.await_text(FAILURE_TEXT, is_displayed=True)