gaia/build/ua-override-prefs.js at master · mozilla-b2g/gaia · GitHub
And this is why user-agent sniffing not a future-friendly technique. A new mobile browser comes along, and it has to spoof a fake UA string to all of these sites.
It’s a Red Queen arms race.