Bug 216903

Summary: webkitpy: Make sw_vers the source of truth for the MacOS version
Product: WebKit Reporter: Jonathan Bedard <jbedard>
Component: Tools / TestsAssignee: Jonathan Bedard <jbedard>
Status: RESOLVED FIXED    
Severity: Normal CC: aakash_jain, dewei_zhu, ews-watchlist, glenn, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Jonathan Bedard
Reported 2020-09-23 15:47:35 PDT
For compatibility reasons, platform.mac_ver() may return 10.16 instead of 11.0. In WebKit, we always want the actual macOS version, and should prefer the version as reported by sw_vers.
Attachments
Patch (2.16 KB, patch)
2020-09-23 15:52 PDT, Jonathan Bedard
no flags
Radar WebKit Bug Importer
Comment 1 2020-09-23 15:47:49 PDT
Jonathan Bedard
Comment 2 2020-09-23 15:52:08 PDT
EWS
Comment 3 2020-09-23 16:28:55 PDT
Committed r267508: <https://trac.webkit.org/changeset/267508> All reviewed patches have been landed. Closing bug and clearing flags on attachment 409508 [details].
Note You need to log in before you can comment on or make changes to this bug.