commit f2b5168eaac11395cc738dc9d52ef97711ab76ac
parent bdb5a318f0845be9dd285b47e06781947cd034a1
Author: Thomas Wisniewski <twisniewski@mozilla.com>
Date: Wed, 26 Nov 2025 23:06:57 +0000
Bug 1994571 - remove our webcompat intervention for chick-fil-a.com; r=ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D274085
Diffstat:
3 files changed, 2 insertions(+), 49 deletions(-)
diff --git a/browser/extensions/webcompat/data/interventions.json b/browser/extensions/webcompat/data/interventions.json
@@ -5990,23 +5990,6 @@
}
]
},
- "1994571": {
- "label": "chick-fil-a.com",
- "bugs": {
- "1994571": {
- "issue": "broken-images",
- "matches": ["*://www.chick-fil-a.com/*"]
- }
- },
- "interventions": [
- {
- "platforms": ["desktop"],
- "content_scripts": {
- "css": ["1994571-chick-fil-a.com-fix-icon-heights.css"]
- }
- }
- ]
- },
"1994704": {
"label": "avlguest.justice.nsw.gov.au",
"bugs": {
diff --git a/browser/extensions/webcompat/injections/css/1994571-chick-fil-a.com-fix-icon-heights.css b/browser/extensions/webcompat/injections/css/1994571-chick-fil-a.com-fix-icon-heights.css
@@ -1,15 +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/. */
-
-/**
- * chick-fil-a.com - red-colored icons are vertically stretched
- * Bug #1994571 - https://bugzilla.mozilla.org/show_bug.cgi?id=1994571
- *
- * The site's height:100% on the icons is causing them to stretch on
- * Firefox. We can work around it here.
- */
-.classic-callout img {
- height: auto;
- max-height: 100%;
-}
diff --git a/testing/webcompat/interventions/tests/test_1994571_chick-fil-a_com.py b/testing/webcompat/interventions/tests/test_1994571_chick-fil-a_com.py
@@ -1,7 +1,7 @@
import pytest
URL = "https://www.chick-fil-a.com/careers"
-ICONS_CSS = ".classic-callout img"
+ICONS_CSS = ".wp-pattern-multi-column-icon-content figure>img"
async def are_icons_stretched(client):
@@ -24,22 +24,7 @@ async def are_icons_stretched(client):
)
-@pytest.mark.skip_platforms("android")
-@pytest.mark.asyncio
-@pytest.mark.with_interventions
-async def test_enabled(client):
- assert not await are_icons_stretched(client)
-
-
-@pytest.mark.skip_platforms("android")
-@pytest.mark.asyncio
-@pytest.mark.without_interventions
-async def test_disabled(client):
- assert await are_icons_stretched(client)
-
-
-@pytest.mark.only_platforms("android")
@pytest.mark.asyncio
@pytest.mark.without_interventions
-async def test_works_on_android(client):
+async def test_regression(client):
assert not await are_icons_stretched(client)