Bug 276718

Summary: Stop conditionally setting macOS UA string version to 10_15_7
Product: WebKit Reporter: Sam Sneddon [:gsnedders] <gsnedders>
Component: PlatformAssignee: Sam Sneddon [:gsnedders] <gsnedders>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Sam Sneddon [:gsnedders]
Reported 2024-07-17 09:03:41 PDT
We currently: String osVersion = systemMarketingVersionForUserAgentString(); if (!osVersion.startsWith("10"_s)) osVersion = "10_15_7"_s; This branch is always taken, as we dropped support for macOS 10.15 and earlier several years ago. Similar to iOS, we can simply hard code this value in the UA string at this point.
Attachments
Sam Sneddon [:gsnedders]
Comment 1 2024-07-17 09:08:15 PDT
Radar WebKit Bug Importer
Comment 2 2024-07-24 09:04:59 PDT
EWS
Comment 3 2024-07-29 17:43:03 PDT
Committed 281530@main (49a2b0400d3f): <https://commits.webkit.org/281530@main> Reviewed commits have been landed. Closing PR #30907 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.