tor-browser

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

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

Bug 1975951 - remove our webcompat intervention for dell.com; r=webcompat-reviewers,ksenia

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

Diffstat:
Mbrowser/extensions/webcompat/data/interventions.json | 17-----------------
Dbrowser/extensions/webcompat/injections/css/bug1975951-www.dell.com-reveal-product-images.css | 12------------
Mtesting/webcompat/interventions/tests/test_1975951_dell_com.py | 11++---------
3 files changed, 2 insertions(+), 38 deletions(-)

diff --git a/browser/extensions/webcompat/data/interventions.json b/browser/extensions/webcompat/data/interventions.json @@ -5239,23 +5239,6 @@ } ] }, - "1975951": { - "label": "www.dell.com", - "bugs": { - "1975951": { - "issue": "broken-images", - "matches": ["*://www.dell.com/*"] - } - }, - "interventions": [ - { - "not_platforms": ["mac"], - "content_scripts": { - "css": ["bug1975951-www.dell.com-reveal-product-images.css"] - } - } - ] - }, "1975953": { "label": "envios.mercadolibre.com.ar", "bugs": { diff --git a/browser/extensions/webcompat/injections/css/bug1975951-www.dell.com-reveal-product-images.css b/browser/extensions/webcompat/injections/css/bug1975951-www.dell.com-reveal-product-images.css @@ -1,12 +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/. */ - -/** - * www.dell.com - reveal product images on shop pages - * Bug #1975951 - https://bugzilla.mozilla.org/show_bug.cgi?id=1975951 - * WebCompat issue #156739 - https://webcompat.com/issues/156739 - */ -.media-gallery-mfe.variant-stack-v2 .hero-dell-media figure { - aspect-ratio: unset; -} diff --git a/testing/webcompat/interventions/tests/test_1975951_dell_com.py b/testing/webcompat/interventions/tests/test_1975951_dell_com.py @@ -25,13 +25,6 @@ async def are_images_fullsize(client): @pytest.mark.skip_platforms("mac") @pytest.mark.asyncio -@pytest.mark.with_interventions -async def test_enabled(client): - assert await are_images_fullsize(client) - - -@pytest.mark.skip_platforms("mac") -@pytest.mark.asyncio @pytest.mark.without_interventions -async def test_disabled(client): - assert not await are_images_fullsize(client) +async def test_regression(client): + assert await are_images_fullsize(client)