Title: [243971] trunk
Revision
243971
Author
[email protected]
Date
2019-04-08 02:09:01 -0700 (Mon, 08 Apr 2019)

Log Message

[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: trunk/Source/WebCore/ChangeLog (243970 => 243971)


--- trunk/Source/WebCore/ChangeLog	2019-04-08 08:11:19 UTC (rev 243970)
+++ trunk/Source/WebCore/ChangeLog	2019-04-08 09:09:01 UTC (rev 243971)
@@ -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-08  Carlos Garcia Campos  <[email protected]>
 
         [ATK] Cleanup accessible wrapper base class

Modified: trunk/Source/WebCore/platform/UserAgentQuirks.cpp (243970 => 243971)


--- trunk/Source/WebCore/platform/UserAgentQuirks.cpp	2019-04-08 08:11:19 UTC (rev 243970)
+++ trunk/Source/WebCore/platform/UserAgentQuirks.cpp	2019-04-08 09:09:01 UTC (rev 243971)
@@ -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: trunk/Tools/ChangeLog (243970 => 243971)


--- trunk/Tools/ChangeLog	2019-04-08 08:11:19 UTC (rev 243970)
+++ trunk/Tools/ChangeLog	2019-04-08 09:09:01 UTC (rev 243971)
@@ -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-04-07  Commit Queue  <[email protected]>
 
         Unreviewed, rolling out r243956.

Modified: trunk/Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp (243970 => 243971)


--- trunk/Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp	2019-04-08 08:11:19 UTC (rev 243970)
+++ trunk/Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp	2019-04-08 09:09:01 UTC (rev 243971)
@@ -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