Loading
Bug 1894429 - Spoof "Android 10" OS version in Firefox Android’s User-Agent...
Bug 1894429 - Spoof "Android 10" OS version in Firefox Android’s User-Agent string on Android versions < 10. r=necko-reviewers,geckoview-reviewers,valentin,owlish In bug 1865766, I tried to freeze the Android OS version exposed in Firefox Android's UA string at "Android 10", to reduce fingerprintable user information exposed to the web and to match Chrome. However, we ran into a webcompat problem (bug 1876742) where Firefox users couldn't log into at least one work website because the website's admin configured Duo authentication's "Trusted Endpoint" OS version checks to block users with Android versions < 11. To work around that problem, spoof "Android 10" only for Android versions < 10. Duo's "Trusted Endpoint" OS version checks should still work because websites will see real version numbers for Android versions >= 10, whereas Firefox on Android versions < 10 will pretend to be "Android 10" and benefit from reduced fingerprintable user information. Differential Revision: https://phabricator.services.mozilla.com/D209627