Open Bug 2096414 Opened 3 days ago Updated 20 hours ago

motogptv.motogp.com - Firefox is not a supported browser

Categories

(Web Compatibility :: Site Reports, defect, P2)

Desktop
Windows 10

Tracking

(Webcompat Priority:P3, Webcompat Score:1, firefox163 affected)

ASSIGNED
Webcompat Priority P3
Webcompat Score 1
Tracking Status
firefox163 --- affected

People

(Reporter: bfarkas, Assigned: twisniewski)

References

(Depends on 1 open bug, )

Details

(4 keywords, Whiteboard: [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:repro-success])

User Story

autowebcompat-repro-status:success
autowebcompat-repro-chrome-mask-fixed:false
autowebcompat-repro-channels:nightly,stable,esr
autowebcompat-repro-report-os:all
autowebcompat-diagnosis-status:success
platform:windows,mac,linux,android
impact:blocked
configuration:general
affects:all
branch:release
diagnosis-team:webcompat
user-impact-score:0
autowebcompat-intervention-status:success

Attachments

(2 files, 1 external file, 2 obsolete files)

Environment:
Operating system: Windows 10
Firefox version: Firefox 160.0 / Firefox Nightly 163.0a1 (2026-11-22)

Steps to reproduce:

  1. Access: https://motogptv.motogp.com/
  2. Observe the page

Expected Behavior:
The page is displayed accordingly

Actual Behavior:
"This browser is not supported" page is displayed

Notes:

  • Reproduces regardless of the status of ETP
  • Reproduces in firefox-nightly, and firefox-release
  • Does not reproduce in chrome

Created from https://github.com/webcompat/web-bugs/issues/240822

Whiteboard: [webcompat-source:web-bugs] → [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:reproduction-in-progress]
User Story: (updated)
Whiteboard: [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:reproduction-in-progress] → [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:repro-success][autowebcompat:diagnose]

In Firefox, motogptv.motogp.com shows a "This browser is not supported" page that tells users to switch to another browser or device. Chrome loads the normal MotoGP TV home page with the schedule, live timing and subscribe options.

Whiteboard: [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:repro-success][autowebcompat:diagnose] → [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:repro-success][autowebcompat:diagnosis-in-progress]

Root cause analysis generated by autowebcompat bot:

This is a site-side browser allowlist (UA sniffing), not a Gecko engine bug.

The MotoGP TV React app (/static/main.*.js) fetches https://motogptv.motogp.com/config and passes its browsers object to a support check (webpack module 25918, export SV). The check returns true only when the UA contains a known crawler string, or when browsers.allow[browserName] exists and is <= the parsed major version. Browser name and version come from a UA-parser library run on navigator.userAgent. The server config's allow list has entries only for Chrome, Mobile Chrome, Edge, Safari, Mobile Safari, Samsung Browser, UCBrowser and Opera. It has no Firefox entry, so allow["Firefox"] is undefined, the check returns false, and the app shows the "This browser is not supported" page instead of the home page. Chrome matches allow.Chrome = "85" and passes.

Evidence:

In Firefox Nightly (UA ... Gecko/20100101 Firefox/163.0), the page title is "MotoGP™ TV" and the body text starts with "This browser is not supported / To experience MotoGP™ TV please switch to an alternative browser or device". In Chrome, the title is "MotoGP™ TV | Home". Both browsers receive the same HTML shell (3529 bytes whatever the UA sent to curl), so the switch happens client-side.

fetch('/config').browsers.allow = {"Chrome":"85","Mobile Chrome":"85","Edge":"85","Safari":"12","Mobile Safari":"12","Samsung Browser":"0","UCBrowser":"0","Opera":"0"}. Firefox is absent.

The check in main.js reads: _=function(e){if(!e)return!0;...;return crawlers.some(c=>ua.toLowerCase().indexOf(c.toLowerCase())!==-1)||!!n[l.C0]&&parseInt(n[l.C0],10)<=parseInt(l.n5,10)}, where n is allow and l.C0 is the parsed browser name. With l.C0 = "Firefox" it returns false.

No reduced testcase was made because the difference comes from site browser sniffing, not from engine behaviour.


If you'd like to provide feedback on diagnosis, please use the 👍 or 👎 reaction.

User Story: (updated)
Whiteboard: [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:repro-success][autowebcompat:diagnosis-in-progress] → [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:repro-success]
User Story: (updated)
Severity: -- → S2
User Story: (updated)
Webcompat Priority: --- → P2
Webcompat Score: --- → 6
Priority: -- → P2

This is the same block as for Formula 1 (bug 1950282). I'll make a corresponding intervention.

Keywords: leave-open
Assignee: nobody → twisniewski
Status: NEW → ASSIGNED
Webcompat Score: 6 → 5
Whiteboard: [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:repro-success] → [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:repro-success][autowebcompat:intervention-in-progress]

motogptv.motogp.com decides the browser name from a client-side feature check (InstallTrigger, mozInnerScreenX, CSS.supports("-moz-appearance"), navigator.userAgentData, "chrome/" in the UA) and blocks anything not in its server-provided allowlist, which has no Firefox entry. This is the same check as on f1tv.formula1.com (bug 1950282).

The intervention uses the Chrome_with_FxQuantum UA override plus define_userAgentData.js and undefine_firefox_properties.js, so the site detects Chrome and loads normally.

User Story: (updated)
Whiteboard: [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:repro-success][autowebcompat:intervention-in-progress] → [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:repro-success]
Attachment #9689050 - Attachment is obsolete: true
Attachment #9688781 - Attachment is obsolete: true
User Story: (updated)
Webcompat Priority: P2 → P3
Webcompat Score: 5 → 1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: