clients.henner.com - Firefox is an unsupported browser
URL: https://clients.henner.com/henner/fr/compatibility
Browser / Version: Firefox iOS 33.1 Operating System: iOS 14.5.1 Tested Another Browser: Yes Safari
Problem type: Site is not usable Description: Browser unsupported Steps to Reproduce: Firefox mobile is said to be unsupported (error message) whereas Safari mobile is.
View the screenshot
Browser Configuration
- None
From webcompat.com with ❤️
We appreciate your report. I was able to reproduce the issue. The page returns an error message regarding the compatibility of the browser:
Notes:
- Reproducible regardless of the status of ETP
- Reproducible on the latest build of Firefox Nightly
- Works as expected using Safari:
Tested with: Browser/Version: Safari 14.4.2/ Firefox Daylight 34.0 (4920) Operating System: iOS 14.4.2
Moving this to NeedsDiagnosis for further investigations.
This is user agent sniffing
this.compatibility = !1,
this.debugMode = !!i.a.debug,
this.browsers.forEach(function (t) {
return t.minVersion = parseInt(e[t.key] || 0, 10)
});
var n = this.deviceService.getDeviceInfo();
if (n.browser && n.browser_version) {
var r = n.browser_version.split('.') [0],
o = this.browsers.find(function (e) {
return e.identifier === n.browser && e.minVersion <= parseInt(r, 10)
});
this.compatibility = !!o
}
}
return e.prototype.isCompatible = function () {
return this.compatibility
},
e.minVersion is 45
They have this earlier function which is
this.browsers.forEach(function (t) {
return t.minVersion = parseInt(e[t.key] || 0, 10)
});
e defines a lot of constants, including
COMPATIBILITY_CHROME_VERSION: "45"
COMPATIBILITY_EDGE_VERSION: "12"
COMPATIBILITY_FIREFOX_VERSION: "45"
COMPATIBILITY_INTERNET_EXPLORER_VERSION: "10"
COMPATIBILITY_SAFARI_VERSION: "9"
COMPATIBILITY_SAMSUNG_VERSION: "0"
when they go to
var n = this.deviceService.getDeviceInfo();
they get the right information from the browser.
{
"userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 14_4_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/34.0 Mobile/15E148 Safari/605.1.15",
"os": "iOS",
"browser": "Firefox",
"device": "iPhone",
"os_version": "unknown",
"browser_version": "0"
}
except for the browser version. They have a complex set of rules for parsing the UA string in https://clients.henner.com/main.cda0ba9a5dafc471f159.js
which doesn't understand what is firefox ios. :)
Ah that's it. They have no rules to parse FxiOS
d = {
CHROME: [
/\bChrome\/([\d\.]+)\b/,
/\bCriOS\/([\d\.]+)\b/
],
FIREFOX: /\bFirefox\/([\d\.]+)\b/,
SAFARI: /\bVersion\/([\d\.]+)\b/,
OPERA: [
/\bVersion\/([\d\.]+)\b/,
/\bOPR\/([\d\.]+)\b/
],
IE: [
/\bMSIE ([\d\.]+\w?)\b/,
/\brv:([\d\.]+\w?)\b/
],
MS_EDGE: /\bEdg(?:e|A|iOS)\/([\d\.]+)\b/,
SAMSUNG: /\bSamsungBrowser\/([\d\.]+)\b/,
UCBROWSER: /\bUCBrowser\/([\d\.]+)\b/
},
They can be contacted at https://welcome.henner.com/en/contact-us/
They need to be careful once the detection is done, that 45 is not the right value in the case of Firefox iOS.
Message sent using 'contact us' form
Hello,
First of all we would like to thank you for your report which will allow us to solve the problem. We are working on a fix and will come back to you as soon as the problem is corrected.
Henner Digital Team.
The issue has been fixed and it is no longer reproducible:

Tested with:
Browser/Version: Firefox Daylight 100.1 (9384) Operating System: iOS 15.4
Closing this as FIXED
[inv_20/2022]