commit 3656c3a2db10e1856bc789edacd2760a697dde76
parent 089e6c98ccd6841aa4b5fcb8762ef4ca8431f363
Author: Thomas Wisniewski <twisniewski@mozilla.com>
Date: Fri, 31 Oct 2025 15:54:27 +0000
Bug 1981995 - update our webcompat override for www.mygeha.com to not apply on Android; r=webcompat-reviewers,ksenia
Differential Revision: https://phabricator.services.mozilla.com/D270745
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/browser/extensions/webcompat/data/interventions.json b/browser/extensions/webcompat/data/interventions.json
@@ -5439,7 +5439,7 @@
},
"interventions": [
{
- "platforms": ["all"],
+ "platforms": ["desktop"],
"content_scripts": {
"css": ["1981995_www.mygeha.com-fix-location-layout.css"]
}
diff --git a/testing/webcompat/interventions/tests/test_1981995_mygeha_com.py b/testing/webcompat/interventions/tests/test_1981995_mygeha_com.py
@@ -12,19 +12,21 @@ async def is_state_beside_zip(client):
return client.execute_script(
"""
const [city, state] = [...arguments].map(arg => arg.getBoundingClientRect());
- return city.right < state.left && state.top == city.top;
+ return city.right < state.left && parseInt(state.top) == parseInt(city.top);
""",
city,
state,
)
+@pytest.mark.skip_platforms("android")
@pytest.mark.asyncio
@pytest.mark.with_interventions
async def test_enabled(client):
assert await is_state_beside_zip(client)
+@pytest.mark.skip_platforms("android")
@pytest.mark.asyncio
@pytest.mark.without_interventions
async def test_disabled(client):