From 4fda41e5df5375e0dd684d6efa6d4b6dcb9707c2 Mon Sep 17 00:00:00 2001 From: Ksenia Berezina Date: Mon, 31 Aug 2026 16:52:28 -0400 Subject: [PATCH 1/3] Update webcompat definition for Firefox unsupported cases --- .../hackbot_agents/autowebcompat_repro/agent.py | 5 +++++ .../autowebcompat_repro/prompts/system.md | 14 ++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/agent.py b/agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/agent.py index 88baac0d88..3e0f4b8459 100644 --- a/agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/agent.py +++ b/agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/agent.py @@ -413,6 +413,11 @@ def system_prompt(self) -> str: and re-check before concluding. - If you confirmed that the reported broken behaviour reproduces in both browsers, set `failure_reason` to `not_firefox_specific`. + - NOTE: Reports about the site steering users away from Firefox (a + "use Chrome" recommendation, an unsupported-browser warning, or a + user-agent-based block) are considered valid web compatibility issues even + if the same message displayed in Chrome. Seeing that message in Firefox + is the reproduction: set `reproduced` to true. 4. If the issue reproduces, write and run a Puppeteer script that drives the real reported site in both browsers and demonstrates the difference: follow the spec in `{repro_reference}`, write your script to exactly `{self.script_path}` diff --git a/agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/prompts/system.md b/agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/prompts/system.md index eb7c65eb01..ec4e5c1ad9 100644 --- a/agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/prompts/system.md +++ b/agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/prompts/system.md @@ -27,6 +27,20 @@ some or all of a website, or which would cause the website to look or behave noticeably different or worse in Firefox compared to other browsers. +A site that steers users away from Firefox is a webcompat issue even if +the page otherwise renders and works identically in every browser. This +includes: + +- Telling users to switch to, or that the site is best viewed in, another + browser (e.g. "it is recommended to use Chrome"). +- Warning that Firefox is unsupported, or that some feature will not work + in Firefox. +- Blocking Firefox outright, or serving it a degraded/legacy experience, + based on user-agent sniffing. + +Treat these as webcompat - the recommendation or block is itself +the issue to report. + Issues with the browser UI are not webcompat issues unless they specifically affect the ability to access content on a specific site. From d29176299e8b235e3b89a9b2edf4abd3e161d61c Mon Sep 17 00:00:00 2001 From: Ksenia Berezina Date: Thu, 3 Sep 2026 10:29:11 -0400 Subject: [PATCH 2/3] Lint fix --- .../hackbot_agents/autowebcompat_repro/prompts/system.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/prompts/system.md b/agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/prompts/system.md index ec4e5c1ad9..c9367a4d84 100644 --- a/agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/prompts/system.md +++ b/agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/prompts/system.md @@ -38,7 +38,7 @@ includes: - Blocking Firefox outright, or serving it a degraded/legacy experience, based on user-agent sniffing. -Treat these as webcompat - the recommendation or block is itself +Treat these as webcompat - the recommendation or block is itself the issue to report. Issues with the browser UI are not webcompat issues unless they From 65d890b096a2232fd4ab34c54b8195d313f708d9 Mon Sep 17 00:00:00 2001 From: Ksenia Berezina Date: Fri, 4 Sep 2026 11:52:19 -0400 Subject: [PATCH 3/3] Edit prompt --- .../hackbot_agents/autowebcompat_repro/prompts/system.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/prompts/system.md b/agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/prompts/system.md index c9367a4d84..ca6cccf6f9 100644 --- a/agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/prompts/system.md +++ b/agents/autowebcompat-repro/hackbot_agents/autowebcompat_repro/prompts/system.md @@ -35,8 +35,6 @@ includes: browser (e.g. "it is recommended to use Chrome"). - Warning that Firefox is unsupported, or that some feature will not work in Firefox. -- Blocking Firefox outright, or serving it a degraded/legacy experience, - based on user-agent sniffing. Treat these as webcompat - the recommendation or block is itself the issue to report.