os.version does not change after updating from Windows 10 to 11
Categories
(Core :: Widget: Win32, defect)
Tracking
()
People
(Reporter: dominik+foss, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: nightly-community)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0
Steps to reproduce:
I updated an existing Windows 10 installation to Windows 11. Firefox Nightly that was present before the update has been updated to a newer daily release (2021-10-05) since then.
Actual results:
os.version in about:telemetry still reports the OS version to be 10.0
Expected results:
os.version should change to 11.0 unless Microsoft decided that the OS should still self-identify as 10 to the external programs for some reason
Reporter | ||
Updated•3 years ago
|
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Win32' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Updated•3 years ago
|
Comment 2•3 years ago
|
||
os.version should change to 11.0 unless Microsoft decided that the OS should still self-identify as 10 to the external programs for some reason
Microsoft decided so for compatibility reasons. Moreover, we explicitly cap the Windows os version to 10, again for compatibility reasons (bug 1693295).
Comment 3•3 years ago
|
||
Oh, this is about about:telemetry
content? Please ignore the latter part of the previous comment. But the former part is still correct. Check if os.windowsBuildNumber >= 21996
to identify Windows 11.
Description
•