Closed Bug 1725076 Opened 3 years ago Closed 2 years ago

Provide uncapped Windows version in profile.meta.oscpu

Categories

(Core :: Gecko Profiler, task, P2)

Unspecified
Windows 11
task

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: mozbugz, Assigned: florian)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Spawned from Chris Peterson [:cpeterson]'s bug 1716785 comment 6:

the Windows version in oscpu is capped here:

https://searchfox.org/mozilla-central/rev/bb5549df90f9b0f5b453f9d8e872a94e503c64a6/netwerk/protocol/http/nsHttpHandler.cpp#913-923

Whether we will raise oscpu's cap from Windows 10.0 to 11.0 is TBD. (I see that Chrome's and Edge's UA strings still report "Windows NT 10.0" on Windows 11 Beta.)

(In reply to Gerald Squelart (he/him) from comment #0)

Spawned from Chris Peterson [:cpeterson]'s bug 1716785 comment 6:

the Windows version in oscpu is capped here:

https://searchfox.org/mozilla-central/rev/bb5549df90f9b0f5b453f9d8e872a94e503c64a6/netwerk/protocol/http/nsHttpHandler.cpp#913-923

Even without this hack, GetVersionEx returns 10.0 for Windows 11, as listed in https://learn.microsoft.com/en-us/windows/win32/sysinfo/operating-system-version

Assignee: nobody → florian
Status: NEW → ASSIGNED
Pushed by fqueze@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/93090b1a044a
Make profile.meta.oscpu show when we are running on Windows 11, r=canaltinova.
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: