Provide uncapped Windows version in profile.meta.oscpu
Categories
(Core :: Gecko Profiler, task, P2)
Tracking
()
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:
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.)
Assignee | ||
Comment 2•2 years ago
|
||
And the relevant profiler code is at https://searchfox.org/mozilla-central/rev/f36f074acc09f2dab0e9ffaba34b5f6714dec81d/tools/profiler/core/platform.cpp#2729-2747
Assignee | ||
Comment 3•2 years ago
|
||
(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:
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 | ||
Comment 4•2 years ago
|
||
Updated•2 years ago
|
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.
Comment 6•2 years ago
|
||
bugherder |
Description
•