Changeset 247427 in webkit
- Timestamp:
- Jul 15, 2019 1:58:52 AM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r247425 r247427 1 2019-07-15 Michael Catanzaro <mcatanzaro@igalia.com> 2 3 [GTK] GitHub breaks on FreeBSD because of "unsupported browser" 4 https://bugs.webkit.org/show_bug.cgi?id=199745 5 6 Reviewed by Carlos Garcia Campos. 7 8 It's been a while since I last updated the fake version numbers in our user agent, both for 9 the user agent quirks for naughty websites and also the Safari version in our standard user 10 agent. Update them. This should fix github.com on FreeBSD at least. I also noticed some 11 wonkiness on Google Docs recently that I thought required this update, but I didn't do 12 anything about it at the time because I wasn't able to reproduce the issue when I tried 13 again later. 14 15 This could absolutely break websites, because the web is awful, but that's calculated risk. 16 17 * platform/UserAgentQuirks.cpp: 18 (WebCore::UserAgentQuirks::stringForQuirk): 19 * platform/glib/UserAgentGLib.cpp: 20 (WebCore::buildUserAgentString): 21 1 22 2019-07-14 Chris Dumez <cdumez@apple.com> 2 23 -
trunk/Source/WebCore/platform/UserAgentQuirks.cpp
r246791 r247427 149 149 case NeedsChromeBrowser: 150 150 // Get versions from https://chromium.googlesource.com/chromium/src.git 151 return "Chrome/ 58.0.3029.81"_s;151 return "Chrome/75.0.3770.141"_s; 152 152 case NeedsMacintoshPlatform: 153 return "Macintosh; Intel Mac OS X 10_1 3_4"_s;153 return "Macintosh; Intel Mac OS X 10_15"_s; 154 154 case NeedsLinuxDesktopPlatform: 155 155 return "X11; Linux x86_64"_s; -
trunk/Source/WebCore/platform/glib/UserAgentGLib.cpp
r241587 r247427 104 104 // Version/X is mandatory *before* Safari/X to be a valid Safari UA. See 105 105 // https://bugs.webkit.org/show_bug.cgi?id=133403 for details. 106 uaString.appendLiteral("Version/1 1.0 Safari/");106 uaString.appendLiteral("Version/13.0 Safari/"); 107 107 uaString.append(versionForUAString()); 108 108
Note: See TracChangeset
for help on using the changeset viewer.