motogptv.motogp.com - Firefox is not a supported browser
Categories
(Web Compatibility :: Site Reports, defect, P2)
Tracking
(Webcompat Priority:P3, Webcompat Score:1, firefox163 affected)
| 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:
- Access: https://motogptv.motogp.com/
- 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
| Reporter | ||
Updated•3 days ago
|
| Reporter | ||
Comment 1•3 days ago
|
||
Updated•3 days ago
|
Updated•3 days ago
|
Comment 2•3 days ago
|
||
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.
Updated•3 days ago
|
Comment 3•3 days ago
|
||
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.
Updated•3 days ago
|
Updated•3 days ago
|
Updated•3 days ago
|
| Assignee | ||
Comment 4•3 days ago
|
||
This is the same block as for Formula 1 (bug 1950282). I'll make a corresponding intervention.
| Assignee | ||
Comment 5•3 days ago
|
||
Updated•3 days ago
|
| Assignee | ||
Comment 6•3 days ago
|
||
Updated•2 days ago
|
Updated•2 days ago
|
Comment 7•2 days ago
|
||
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.
Updated•2 days ago
|
Updated•2 days ago
|
Updated•2 days ago
|
Comment 9•2 days ago
|
||
| bugherder | ||
| Assignee | ||
Updated•1 day ago
|
Updated•20 hours ago
|
Description
•