Title: [243994] releases/WebKitGTK/webkit-2.24
Revision
243994
Author
[email protected]
Date
2019-04-08 03:44:34 -0700 (Mon, 08 Apr 2019)

Log Message

Merge r243971 - [GTK][WPE] outlook.live.com displays old-fashioned UI
https://bugs.webkit.org/show_bug.cgi?id=196642

Reviewed by Carlos Garcia Campos.

Source/WebCore:

The new good looking UI is shown as long as pretend we're a Mac in the UA.

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

Tools:

* TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp:
(TestWebKitAPI::TEST): New Mac platform quirk test.

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.24/Source/WebCore/ChangeLog (243993 => 243994)


--- releases/WebKitGTK/webkit-2.24/Source/WebCore/ChangeLog	2019-04-08 10:23:44 UTC (rev 243993)
+++ releases/WebKitGTK/webkit-2.24/Source/WebCore/ChangeLog	2019-04-08 10:44:34 UTC (rev 243994)
@@ -1,3 +1,15 @@
+2019-04-05  Sergio Villar Senin  <[email protected]>
+
+        [GTK][WPE] outlook.live.com displays old-fashioned UI
+        https://bugs.webkit.org/show_bug.cgi?id=196642
+
+        Reviewed by Carlos Garcia Campos.
+
+        The new good looking UI is shown as long as pretend we're a Mac in the UA.
+
+        * platform/UserAgentQuirks.cpp:
+        (WebCore::urlRequiresChromeBrowser):
+
 2019-04-03  Michael Catanzaro  <[email protected]>
 
         Get rid of HTMLInputElement::setEditingValue

Modified: releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/UserAgentQuirks.cpp (243993 => 243994)


--- releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/UserAgentQuirks.cpp	2019-04-08 10:23:44 UTC (rev 243993)
+++ releases/WebKitGTK/webkit-2.24/Source/WebCore/platform/UserAgentQuirks.cpp	2019-04-08 10:44:34 UTC (rev 243994)
@@ -99,7 +99,7 @@
     // 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;
 
     // Google Docs shows a scary unsupported browser warning with WebKitGTK+'s

Modified: releases/WebKitGTK/webkit-2.24/Tools/ChangeLog (243993 => 243994)


--- releases/WebKitGTK/webkit-2.24/Tools/ChangeLog	2019-04-08 10:23:44 UTC (rev 243993)
+++ releases/WebKitGTK/webkit-2.24/Tools/ChangeLog	2019-04-08 10:44:34 UTC (rev 243994)
@@ -1,3 +1,13 @@
+2019-04-05  Sergio Villar Senin  <[email protected]>
+
+        [GTK][WPE] outlook.live.com displays old-fashioned UI
+        https://bugs.webkit.org/show_bug.cgi?id=196642
+
+        Reviewed by Carlos Garcia Campos.
+
+        * TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp:
+        (TestWebKitAPI::TEST): New Mac platform quirk test.
+
 2019-03-28  Michael Catanzaro  <[email protected]>
 
         [WPE][GTK] webkit_web_resource_get_data_finish can return NULL without setting error

Modified: releases/WebKitGTK/webkit-2.24/Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp (243993 => 243994)


--- releases/WebKitGTK/webkit-2.24/Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp	2019-04-08 10:23:44 UTC (rev 243993)
+++ releases/WebKitGTK/webkit-2.24/Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp	2019-04-08 10:44:34 UTC (rev 243994)
@@ -94,6 +94,7 @@
     assertUserAgentForURLHasMacPlatformQuirk("http://www.chase.com/");
     assertUserAgentForURLHasMacPlatformQuirk("http://docs.google.com/");
     assertUserAgentForURLHasMacPlatformQuirk("http://paypal.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