Title: [231417] releases/WebKitGTK/webkit-2.20
Revision
231417
Author
[email protected]
Date
2018-05-07 01:26:36 -0700 (Mon, 07 May 2018)

Log Message

Merge r230749 - [GTK] Webkit should spoof as Safari on a Mac for Outlook.com
https://bugs.webkit.org/show_bug.cgi?id=184573

Reviewed by Carlos Alberto Lopez Perez.

Source/WebCore:

Add quirk for outlook.live.com.

* platform/UserAgentQuirks.cpp:
(WebCore::urlRequiresMacintoshPlatform):

Tools:

* TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp:
(TestWebKitAPI::TEST):

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.20/Source/WebCore/ChangeLog (231416 => 231417)


--- releases/WebKitGTK/webkit-2.20/Source/WebCore/ChangeLog	2018-05-07 08:26:29 UTC (rev 231416)
+++ releases/WebKitGTK/webkit-2.20/Source/WebCore/ChangeLog	2018-05-07 08:26:36 UTC (rev 231417)
@@ -1,3 +1,15 @@
+2018-04-17  Michael Catanzaro  <[email protected]>
+
+        [GTK] Webkit should spoof as Safari on a Mac for Outlook.com
+        https://bugs.webkit.org/show_bug.cgi?id=184573
+
+        Reviewed by Carlos Alberto Lopez Perez.
+
+        Add quirk for outlook.live.com.
+
+        * platform/UserAgentQuirks.cpp:
+        (WebCore::urlRequiresMacintoshPlatform):
+
 2018-04-13  Miguel Gomez  <[email protected]>
 
         REGRESSION(r230627): [GTK][WPE] Possible deadlock when destroying the player in non AC mode

Modified: releases/WebKitGTK/webkit-2.20/Source/WebCore/platform/UserAgentQuirks.cpp (231416 => 231417)


--- releases/WebKitGTK/webkit-2.20/Source/WebCore/platform/UserAgentQuirks.cpp	2018-05-07 08:26:29 UTC (rev 231416)
+++ releases/WebKitGTK/webkit-2.20/Source/WebCore/platform/UserAgentQuirks.cpp	2018-05-07 08:26:36 UTC (rev 231417)
@@ -96,8 +96,10 @@
     // Microsoft Outlook Web App forces users with WebKitGTK+'s standard user
     // agent to use the light version. Earlier versions even blocks users from
     // accessing the calendar.
-    if (domain == "mail.ntu.edu.tw")
+    if (domain == "outlook.live.com"
+        || domain == "mail.ntu.edu.tw") {
         return true;
+    }
 
     return false;
 }

Modified: releases/WebKitGTK/webkit-2.20/Tools/ChangeLog (231416 => 231417)


--- releases/WebKitGTK/webkit-2.20/Tools/ChangeLog	2018-05-07 08:26:29 UTC (rev 231416)
+++ releases/WebKitGTK/webkit-2.20/Tools/ChangeLog	2018-05-07 08:26:36 UTC (rev 231417)
@@ -1,3 +1,13 @@
+2018-04-17  Michael Catanzaro  <[email protected]>
+
+        [GTK] Webkit should spoof as Safari on a Mac for Outlook.com
+        https://bugs.webkit.org/show_bug.cgi?id=184573
+
+        Reviewed by Carlos Alberto Lopez Perez.
+
+        * TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp:
+        (TestWebKitAPI::TEST):
+
 2018-05-03  Carlos Garcia Campos  <[email protected]>
 
         REGRESSION(r222772): [GTK][WPE] WebProcess from WebKitGtk+ 2.19.9x SIGSEVs in WebKit::WebProcess::ensureNetworkProcessConnection() at Source/WebKit/WebProcess/WebProcess.cpp:1127

Modified: releases/WebKitGTK/webkit-2.20/Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp (231416 => 231417)


--- releases/WebKitGTK/webkit-2.20/Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp	2018-05-07 08:26:29 UTC (rev 231416)
+++ releases/WebKitGTK/webkit-2.20/Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp	2018-05-07 08:26:36 UTC (rev 231417)
@@ -92,6 +92,7 @@
     assertUserAgentForURLHasMacPlatformQuirk("http://intl.taobao.com/");
     assertUserAgentForURLHasMacPlatformQuirk("http://www.whatsapp.com/");
     assertUserAgentForURLHasMacPlatformQuirk("http://web.whatsapp.com/");
+    assertUserAgentForURLHasMacPlatformQuirk("http://outlook.live.com/");
 }
 
 } // namespace TestWebKitAPI
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to