Changeset 267675 in webkit
- Timestamp:
- Sep 27, 2020, 1:00:20 PM (6 years ago)
- Location:
- branches/safari-610-branch/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/mac/UserAgentMac.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-610-branch/Source/WebCore/ChangeLog
r267673 r267675 1 2020-09-27 Alan Coon <alancoon@apple.com> 2 3 Cherry-pick r267148. rdar://problem/69594002 4 5 [macOS] Limit reported macOS release to 10.15 series 6 https://bugs.webkit.org/show_bug.cgi?id=216593 7 <rdar://problem/68937905> 8 9 Reviewed by Maciej Stachowiak. 10 11 If the reported system OS is 11.0 (or beyond) report the last stable release 12 of macOS. 13 14 * platform/mac/UserAgentMac.mm: 15 (WebCore::standardUserAgentWithApplicationName): 16 17 18 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267148 268f45cc-cd09-0410-ab3c-d52691b4dbfc 19 20 2020-09-16 Brent Fulgham <bfulgham@apple.com> 21 22 [macOS] Limit reported macOS release to 10.15 series 23 https://bugs.webkit.org/show_bug.cgi?id=216593 24 <rdar://problem/68937905> 25 26 Reviewed by Maciej Stachowiak. 27 28 If the reported system OS is 11.0 (or beyond) report the last stable release 29 of macOS. 30 31 * platform/mac/UserAgentMac.mm: 32 (WebCore::standardUserAgentWithApplicationName): 33 1 34 2020-09-27 Alan Coon <alancoon@apple.com> 2 35 -
branches/safari-610-branch/Source/WebCore/platform/mac/UserAgentMac.mm
r248501 r267675 36 36 { 37 37 String osVersion = systemMarketingVersionForUserAgentString(); 38 if (!osVersion.startsWith("10")) 39 osVersion = "10_15_6"_s; 40 38 41 String appNameSuffix = applicationName.isEmpty() ? "" : makeString(" ", applicationName); 39 42
Note:
See TracChangeset
for help on using the changeset viewer.