tor-browser

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

commit 089e6c98ccd6841aa4b5fcb8762ef4ca8431f363
parent 2e311988635c5239cef3ef74f550c3721b028a37
Author: Thomas Wisniewski <twisniewski@mozilla.com>
Date:   Fri, 31 Oct 2025 15:54:27 +0000

Bug 1729435 - disable our UA override for milkbarstore.com on Android; r=webcompat-reviewers,ksenia

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

Diffstat:
Mbrowser/extensions/webcompat/data/interventions.json | 2+-
Mtesting/webcompat/interventions/tests/test_1729435_milkbarstore_com.py | 9+++++++++
2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/browser/extensions/webcompat/data/interventions.json b/browser/extensions/webcompat/data/interventions.json @@ -524,7 +524,7 @@ }, "interventions": [ { - "platforms": ["all"], + "platforms": ["desktop"], "content_scripts": { "css": ["1729435_milkbarstore.com-fix-cart-quantity-counts.css"] } diff --git a/testing/webcompat/interventions/tests/test_1729435_milkbarstore_com.py b/testing/webcompat/interventions/tests/test_1729435_milkbarstore_com.py @@ -21,13 +21,22 @@ async def do_cart_quantities_appear(client): return pre != post +@pytest.mark.skip_platforms("android") @pytest.mark.asyncio @pytest.mark.with_interventions async def test_enabled(client): assert await do_cart_quantities_appear(client) +@pytest.mark.skip_platforms("android") @pytest.mark.asyncio @pytest.mark.without_interventions async def test_disabled(client): assert not await do_cart_quantities_appear(client) + + +@pytest.mark.only_platforms("android") +@pytest.mark.asyncio +@pytest.mark.without_interventions +async def test_works_on_android(client): + assert await do_cart_quantities_appear(client)