The "use my platform" link chooses Windows 10 when I'm actually using Windows 11
Categories
(bugzilla.mozilla.org :: Bug Creation/Editing, defect)
Tracking
()
People
(Reporter: scunnane, Unassigned)
Details
When I'm filing a new bug and I click the "use my platform" link, x86_64 is populated as the CPU architecture and Windows 10 as the OS. However, I'm actually on Windows 11.
Comment 1•3 years ago
|
||
It determines OS and arch by the UserAgent string returned by the web server. So the regex used probably needs to be updated. Could you paste your full UserAgent string here? Or I can crank up a Windows 11 install and see if I can get it myself.
| Reporter | ||
Comment 2•3 years ago
|
||
Gotcha. My user agent string from a request to the Bugzilla server: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0
Comment 3•3 years ago
|
||
After some research I do not see how this could be fixed. According to bug 1693295, the Windows version was capped at 10.0 for Firefox so it shows the same for either Windows 10 or 11. There are UserAgent client hints [1] that are used by Chrome based browsers (not Firefox) that can be used to tell the version of Windows but will not work for us. Until Firefox supports the hints, we must manually choose Windows 11 from the OS list.
[1] https://learn.microsoft.com/en-us/microsoft-edge/web-platform/how-to-detect-win11
Description
•