Title: [245472] trunk/Source/WebCore
Revision
245472
Author
[email protected]
Date
2019-05-17 11:56:59 -0700 (Fri, 17 May 2019)

Log Message

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):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (245471 => 245472)


--- trunk/Source/WebCore/ChangeLog	2019-05-17 18:28:34 UTC (rev 245471)
+++ trunk/Source/WebCore/ChangeLog	2019-05-17 18:56:59 UTC (rev 245472)
@@ -1,3 +1,16 @@
+2019-05-17  Wenson Hsieh  <[email protected]>
+
+        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  <[email protected]>
 
         REGRESSION (r245170): gmail.com header flickers when hovering over the animating buttons

Modified: trunk/Source/WebCore/platform/ios/UserAgentIOS.mm (245471 => 245472)


--- trunk/Source/WebCore/platform/ios/UserAgentIOS.mm	2019-05-17 18:28:34 UTC (rev 245471)
+++ trunk/Source/WebCore/platform/ios/UserAgentIOS.mm	2019-05-17 18:56:59 UTC (rev 245472)
@@ -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,
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to