Title: [225623] trunk/Source/WebCore
Revision
225623
Author
mcatanz...@igalia.com
Date
2017-12-07 01:32:53 -0800 (Thu, 07 Dec 2017)

Log Message

[WPE][GTK] Update user agent quirk version strings
https://bugs.webkit.org/show_bug.cgi?id=180474

Reviewed by Carlos Garcia Campos.

* platform/UserAgentQuirks.cpp:
(WebCore::UserAgentQuirks::stringForQuirk):
* platform/glib/UserAgentGLib.cpp:
(WebCore::platformVersionForUAString):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (225622 => 225623)


--- trunk/Source/WebCore/ChangeLog	2017-12-07 07:37:50 UTC (rev 225622)
+++ trunk/Source/WebCore/ChangeLog	2017-12-07 09:32:53 UTC (rev 225623)
@@ -1,3 +1,15 @@
+2017-12-07  Michael Catanzaro  <mcatanz...@igalia.com>
+
+        [WPE][GTK] Update user agent quirk version strings
+        https://bugs.webkit.org/show_bug.cgi?id=180474
+
+        Reviewed by Carlos Garcia Campos.
+
+        * platform/UserAgentQuirks.cpp:
+        (WebCore::UserAgentQuirks::stringForQuirk):
+        * platform/glib/UserAgentGLib.cpp:
+        (WebCore::platformVersionForUAString):
+
 2017-12-06  Chris Dumez  <cdu...@apple.com>
 
         We should be able to recover after a Service Worker process crash

Modified: trunk/Source/WebCore/platform/UserAgentQuirks.cpp (225622 => 225623)


--- trunk/Source/WebCore/platform/UserAgentQuirks.cpp	2017-12-07 07:37:50 UTC (rev 225622)
+++ trunk/Source/WebCore/platform/UserAgentQuirks.cpp	2017-12-07 09:32:53 UTC (rev 225623)
@@ -118,7 +118,8 @@
         // Get versions from https://chromium.googlesource.com/chromium/src.git
         return ASCIILiteral("Chrome/58.0.3029.81");
     case NeedsMacintoshPlatform:
-        return ASCIILiteral("Macintosh; Intel Mac OS X 10_12");
+        // Frozen per https://bugs.webkit.org/show_bug.cgi?id=180365
+        return ASCIILiteral("Macintosh; Intel Mac OS X 10_13_4");
     case NeedsLinuxDesktopPlatform:
         return ASCIILiteral("X11; Linux x86_64");
     case NumUserAgentQuirks:

Modified: trunk/Source/WebCore/platform/glib/UserAgentGLib.cpp (225622 => 225623)


--- trunk/Source/WebCore/platform/glib/UserAgentGLib.cpp	2017-12-07 07:37:50 UTC (rev 225622)
+++ trunk/Source/WebCore/platform/glib/UserAgentGLib.cpp	2017-12-07 09:32:53 UTC (rev 225623)
@@ -63,9 +63,8 @@
 #else
     // We will always claim to be Safari in Intel Mac OS X, since Safari without
     // OS X or anything on ARM triggers mobile versions of some websites.
-    //
-    // FIXME: The final result should include OS version, e.g. "Intel Mac OS X 10_8_4".
-    static NeverDestroyed<const String> uaOSVersion(MAKE_STATIC_STRING_IMPL("Intel Mac OS X"));
+    // Version is frozen per https://bugs.webkit.org/show_bug.cgi?id=180365
+    static NeverDestroyed<const String> uaOSVersion(MAKE_STATIC_STRING_IMPL("Intel Mac OS X 10_13_4"));
     return uaOSVersion;
 #endif
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to