Fix a typo in some user agent string logic
https://bugs.webkit.org/show_bug.cgi?id=197992
<rdar://problem/50895962>
Reviewed by Brent Fulgham.
Adjust the major version number for the desktop user agent string.
* platform/ios/UserAgentIOS.mm:
(WebCore::standardUserAgentWithApplicationName):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@245472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog
index e8c3abf..fb37c9d 100644
--- a/Source/WebCore/ChangeLog
+++ b/Source/WebCore/ChangeLog
@@ -1,3 +1,16 @@
+2019-05-17 Wenson Hsieh <wenson_hsieh@apple.com>
+
+ Fix a typo in some user agent string logic
+ https://bugs.webkit.org/show_bug.cgi?id=197992
+ <rdar://problem/50895962>
+
+ Reviewed by Brent Fulgham.
+
+ Adjust the major version number for the desktop user agent string.
+
+ * platform/ios/UserAgentIOS.mm:
+ (WebCore::standardUserAgentWithApplicationName):
+
2019-05-17 Simon Fraser <simon.fraser@apple.com>
REGRESSION (r245170): gmail.com header flickers when hovering over the animating buttons
diff --git a/Source/WebCore/platform/ios/UserAgentIOS.mm b/Source/WebCore/platform/ios/UserAgentIOS.mm
index d883510..8cdb70e 100644
--- a/Source/WebCore/platform/ios/UserAgentIOS.mm
+++ b/Source/WebCore/platform/ios/UserAgentIOS.mm
@@ -83,7 +83,7 @@
{
if (type == UserAgentType::Desktop) {
String appNameSuffix = applicationName.isEmpty() ? "" : makeString(" ", applicationName);
- return makeString("Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14) AppleWebKit/605.1.15 (KHTML, like Gecko)", appNameSuffix);
+ return makeString("Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko)", appNameSuffix);
}
// FIXME: Is this needed any more? Mac doesn't have this check,