Closed Bug 1734376 Opened 3 years ago Closed 3 years ago

os.version does not change after updating from Windows 10 to 11

Categories

(Core :: Widget: Win32, defect)

Firefox 95
Desktop
Windows 11
defect

Tracking

()

RESOLVED INVALID

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

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.

Component: Untriaged → Widget: Win32
Product: Firefox → Core
Blocks: windows-11
OS: Unspecified → Windows 11
Hardware: Unspecified → Desktop

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).

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID

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.

You need to log in before you can comment on or make changes to this bug.