Bug 276718
| Summary: | Stop conditionally setting macOS UA string version to 10_15_7 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sam Sneddon [:gsnedders] <gsnedders> |
| Component: | Platform | Assignee: | 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]
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Sam Sneddon [:gsnedders]
Pull request: https://github.com/WebKit/WebKit/pull/30907
Radar WebKit Bug Importer
<rdar://problem/132409584>
EWS
Committed 281530@main (49a2b0400d3f): <https://commits.webkit.org/281530@main>
Reviewed commits have been landed. Closing PR #30907 and removing active labels.