commit f77363e9bc08d119e4007a7c919a5a0f56e2001f
parent d37ff0b95c6020b9c1e506ca21d6458c3c6bc3cd
Author: Thomas Wisniewski <twisniewski@mozilla.com>
Date: Fri, 19 Dec 2025 23:16:52 +0000
Bug 1899065 - remove our webcompat intervention for centerparcs; r=webcompat-reviewers,ksenia
Differential Revision: https://phabricator.services.mozilla.com/D276768
Diffstat:
5 files changed, 9 insertions(+), 57 deletions(-)
diff --git a/browser/extensions/webcompat/data/interventions.json b/browser/extensions/webcompat/data/interventions.json
@@ -2561,27 +2561,6 @@
}
]
},
- "1899065": {
- "label": "CenterParcs UK and Ireland",
- "bugs": {
- "1899065": {
- "issue": "unsupported-warning",
- "matches": ["*://*.centerparcs.co.uk/*"]
- },
- "1902410": {
- "issue": "unsupported-warning",
- "matches": ["*://*.centerparcs.ie/*"]
- }
- },
- "interventions": [
- {
- "platforms": ["all"],
- "content_scripts": {
- "css": ["bug1899065-centerparcs-hide-unsupported-warning.css"]
- }
- }
- ]
- },
"1899066": {
"label": "bookcreator.com",
"bugs": {
diff --git a/browser/extensions/webcompat/injections/css/bug1899065-centerparcs-hide-unsupported-warning.css b/browser/extensions/webcompat/injections/css/bug1899065-centerparcs-hide-unsupported-warning.css
@@ -1,13 +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/. */
-
-/**
- * centerparcs.co.uk and .ie - hide unsupported browser warning
- * Bug #1899065 - https://bugzilla.mozilla.org/show_bug.cgi?id=1899065
- * Bug #1902410 - https://bugzilla.mozilla.org/show_bug.cgi?id=1902410
- * WebCompat issue #53044 - https://github.com/webcompat/web-bugs/issues/53044
- */
-#unsupported-browser-message {
- display: none !important;
-}
diff --git a/browser/extensions/webcompat/manifest.json b/browser/extensions/webcompat/manifest.json
@@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "Web Compatibility Interventions",
"description": "Urgent post-release fixes for web compatibility.",
- "version": "148.1.0",
+ "version": "148.2.0",
"browser_specific_settings": {
"gecko": {
"id": "webcompat@mozilla.org",
diff --git a/testing/webcompat/interventions/tests/test_1899065_centerparcs_co_uk.py b/testing/webcompat/interventions/tests/test_1899065_centerparcs_co_uk.py
@@ -4,19 +4,12 @@ import pytest
URL = "https://www.centerparcs.co.uk/"
-UNSUPPORTED_CSS = "#unsupported-browser-message"
-
-
-@pytest.mark.asyncio
-@pytest.mark.with_interventions
-async def test_enabled(client):
- await client.navigate(URL)
- await asyncio.sleep(1)
- assert client.find_css(UNSUPPORTED_CSS, is_displayed=False)
+UNSUPPORTED_TEXT = "not support the current browser"
@pytest.mark.asyncio
@pytest.mark.without_interventions
-async def test_disabled(client):
+async def test_regression(client):
await client.navigate(URL)
- assert client.await_css(UNSUPPORTED_CSS, is_displayed=True)
+ await asyncio.sleep(2)
+ assert not client.find_text(UNSUPPORTED_TEXT, is_displayed=True)
diff --git a/testing/webcompat/interventions/tests/test_1902410_centerparcs_ie.py b/testing/webcompat/interventions/tests/test_1902410_centerparcs_ie.py
@@ -4,19 +4,12 @@ import pytest
URL = "https://www.centerparcs.ie/"
-UNSUPPORTED_CSS = "#unsupported-browser-message"
-
-
-@pytest.mark.asyncio
-@pytest.mark.with_interventions
-async def test_enabled(client):
- await client.navigate(URL)
- await asyncio.sleep(1)
- assert client.find_css(UNSUPPORTED_CSS, is_displayed=False)
+UNSUPPORTED_TEXT = "not support the current browser"
@pytest.mark.asyncio
@pytest.mark.without_interventions
-async def test_disabled(client):
+async def test_regression(client):
await client.navigate(URL)
- assert client.await_css(UNSUPPORTED_CSS, is_displayed=True)
+ await asyncio.sleep(2)
+ assert not client.find_text(UNSUPPORTED_TEXT, is_displayed=True)