commit 8dd14e566e00da8d2f03f1b8c336d4e2614f74d6
parent 277409cf7e85933431f160fe16aea4fdec6ebd68
Author: Thomas Wisniewski <twisniewski@mozilla.com>
Date: Thu, 8 Jan 2026 22:02:20 +0000
Bug 1992923 - remove our webcompat intervention for godotfest.com; r=ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D278138
Diffstat:
3 files changed, 8 insertions(+), 62 deletions(-)
diff --git a/browser/extensions/webcompat/data/interventions.json b/browser/extensions/webcompat/data/interventions.json
@@ -5732,23 +5732,6 @@
}
]
},
- "1992923": {
- "label": "godotfest.com",
- "bugs": {
- "1992923": {
- "issue": "broken-images",
- "matches": ["*://godotfest.com/*"]
- }
- },
- "interventions": [
- {
- "platforms": ["android"],
- "content_scripts": {
- "css": ["1992923-godotfest.com-fix-blur-effects.css"]
- }
- }
- ]
- },
"1993201": {
"label": "portal.pilot.ly",
"bugs": {
diff --git a/browser/extensions/webcompat/injections/css/1992923-godotfest.com-fix-blur-effects.css b/browser/extensions/webcompat/injections/css/1992923-godotfest.com-fix-blur-effects.css
@@ -1,30 +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/. */
-
-/**
- * godotfest.com - Blur effects are disabled on Android
- * Bug #1992923 - https://bugzilla.mozilla.org/show_bug.cgi?id=1992923
- * WebCompat issue #41822 - https://webcompat.com/issues/41822
- *
- * The site appears to be intentionally disabling blur effects on Firefox for
- * an unknown reason, with broken-looking fallbacks. Let's enable blur again.
- */
-@supports (-moz-appearance: none) {
- @media (hover: none) and (pointer: coarse) {
- #background-blur,
- #menu-blur {
- display: revert !important;
- }
- .backdrop-blur,
- .backdrop-blur-sm,
- .backdrop-blur-2xl {
- --tw-backdrop-blur: blur(var(--blur-2xl));
- backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,)
- var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,) !important;
- }
- }
- .talk-card__bg {
- filter: var(--talk-bg-filter) !important;
- }
-}
diff --git a/testing/webcompat/interventions/tests/test_1992923_godotfest_com.py b/testing/webcompat/interventions/tests/test_1992923_godotfest_com.py
@@ -3,7 +3,6 @@ import pytest
URL = "https://godotfest.com/talks"
TOP_BAR_BLUR_CSS = "#menu-blur"
-HERO_CSS = ".talk-card__body"
async def are_blurs_working(client):
@@ -16,19 +15,20 @@ async def are_blurs_working(client):
client.add_stylesheet(
"""
* { color: transparent !important; }
+ #test { position: fixed; color: white !important; }
svg { display: none; }
"""
)
top_bar_blur = client.await_css(TOP_BAR_BLUR_CSS)
- hero = client.await_css(HERO_CSS, is_displayed=True)
- # scroll down to a point where the site enables the blur and something obvious is behind.
client.execute_script(
"""
- arguments[0].scrollIntoView({behavior: "instant", block: "start"});
- """,
- hero,
+ const test = document.createElement("div");
+ test.innerText = test.id = "test";
+ document.body.insertBefore(test, document.body.firstElementChild);
+ window.scrollTo({ top: 200, behavior: 'instant' });
+ """
)
# now take a screenshot, remove the blur element, and compare.
@@ -42,13 +42,6 @@ async def are_blurs_working(client):
@pytest.mark.only_platforms("android")
@pytest.mark.asyncio
-@pytest.mark.with_interventions
-async def test_enabled(client):
- assert await are_blurs_working(client)
-
-
-@pytest.mark.only_platforms("android")
-@pytest.mark.asyncio
@pytest.mark.without_interventions
-async def test_disabled(client):
- assert not await are_blurs_working(client)
+async def test_regression(client):
+ assert await are_blurs_working(client)