Title: [263970] trunk/Source/WebCore
Revision
263970
Author
[email protected]
Date
2020-07-06 09:48:51 -0700 (Mon, 06 Jul 2020)

Log Message

Update the user agent on iPadOS to use 11 to match macOS Safari
https://bugs.webkit.org/show_bug.cgi?id=213753

Patch by Matt Gilligan <[email protected]> on 2020-07-06
Reviewed by Alex Christensen.

Update the version number in the desktop user agent string to 11_0.

* platform/ios/UserAgentIOS.mm:
(WebCore::standardUserAgentWithApplicationName):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (263969 => 263970)


--- trunk/Source/WebCore/ChangeLog	2020-07-06 16:27:48 UTC (rev 263969)
+++ trunk/Source/WebCore/ChangeLog	2020-07-06 16:48:51 UTC (rev 263970)
@@ -1,3 +1,15 @@
+2020-07-06  Matt Gilligan  <[email protected]>
+
+        Update the user agent on iPadOS to use 11 to match macOS Safari
+        https://bugs.webkit.org/show_bug.cgi?id=213753
+
+        Reviewed by Alex Christensen.
+
+        Update the version number in the desktop user agent string to 11_0.
+
+        * platform/ios/UserAgentIOS.mm:
+        (WebCore::standardUserAgentWithApplicationName):
+
 2020-07-06  Daniel Bates  <[email protected]>
 
         Use RenderObject::positionForPoint instead of hit testing the entire view in closestEditablePositionInElementForAbsolutePoint

Modified: trunk/Source/WebCore/platform/ios/UserAgentIOS.mm (263969 => 263970)


--- trunk/Source/WebCore/platform/ios/UserAgentIOS.mm	2020-07-06 16:27:48 UTC (rev 263969)
+++ trunk/Source/WebCore/platform/ios/UserAgentIOS.mm	2020-07-06 16:48:51 UTC (rev 263970)
@@ -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_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko)", appNameSuffix);
+        return makeString("Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0) 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