Title: [269955] trunk
Revision
269955
Author
[email protected]
Date
2020-11-18 07:11:28 -0800 (Wed, 18 Nov 2020)

Log Message

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

Patch by Michael Catanzaro <[email protected]> on 2020-11-18
Reviewed by Carlos Garcia Campos.

Source/WebCore:

Users report that our user agent quirk for Outlook no longer works. Problem is
outlook.live.com has moved to outlook.office.com. Thanks to Adrian Vovk for rebuilding
WebKit to confirm that this patch fixes the issue.

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

Tools:

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (269954 => 269955)


--- trunk/Source/WebCore/ChangeLog	2020-11-18 15:03:19 UTC (rev 269954)
+++ trunk/Source/WebCore/ChangeLog	2020-11-18 15:11:28 UTC (rev 269955)
@@ -1,3 +1,17 @@
+2020-11-18  Michael Catanzaro  <[email protected]>
+
+        [WPE][GTK] Update Outlook user agent quirk
+        https://bugs.webkit.org/show_bug.cgi?id=219049
+
+        Reviewed by Carlos Garcia Campos.
+
+        Users report that our user agent quirk for Outlook no longer works. Problem is
+        outlook.live.com has moved to outlook.office.com. Thanks to Adrian Vovk for rebuilding
+        WebKit to confirm that this patch fixes the issue.
+
+        * platform/UserAgentQuirks.cpp:
+        (WebCore::urlRequiresMacintoshPlatform):
+
 2020-11-17  Sergio Villar Senin  <[email protected]>
 
         RenderTreeBuilderBlock using an incorrect anonymous parent to attach a new renderer

Modified: trunk/Source/WebCore/platform/UserAgentQuirks.cpp (269954 => 269955)


--- trunk/Source/WebCore/platform/UserAgentQuirks.cpp	2020-11-18 15:03:19 UTC (rev 269954)
+++ trunk/Source/WebCore/platform/UserAgentQuirks.cpp	2020-11-18 15:11:28 UTC (rev 269955)
@@ -140,7 +140,7 @@
     // Microsoft Outlook Web App forces users with WebKitGTK's standard user
     // agent to use the light version. Earlier versions even block users from
     // accessing the calendar.
-    if (domain == "outlook.live.com"
+    if (domain == "outlook.office.com"
         || domain == "mail.ntu.edu.tw"
         || domain == "exchange.tu-berlin.de")
         return true;

Modified: trunk/Tools/ChangeLog (269954 => 269955)


--- trunk/Tools/ChangeLog	2020-11-18 15:03:19 UTC (rev 269954)
+++ trunk/Tools/ChangeLog	2020-11-18 15:11:28 UTC (rev 269955)
@@ -1,3 +1,13 @@
+2020-11-18  Michael Catanzaro  <[email protected]>
+
+        [WPE][GTK] Update Outlook user agent quirk
+        https://bugs.webkit.org/show_bug.cgi?id=219049
+
+        Reviewed by Carlos Garcia Campos.
+
+        * TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp:
+        (TestWebKitAPI::TEST):
+
 2020-11-18  Carlos Alberto Lopez Perez  <[email protected]>
 
         [FlatPak] update-webkitgtk-libs fails after a clean build

Modified: trunk/Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp (269954 => 269955)


--- trunk/Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp	2020-11-18 15:03:19 UTC (rev 269954)
+++ trunk/Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp	2020-11-18 15:11:28 UTC (rev 269955)
@@ -114,7 +114,7 @@
     assertUserAgentForURLHasMacPlatformQuirk("http://web.whatsapp.com/");
     assertUserAgentForURLHasMacPlatformQuirk("http://www.chase.com/");
     assertUserAgentForURLHasMacPlatformQuirk("http://paypal.com/");
-    assertUserAgentForURLHasMacPlatformQuirk("http://outlook.live.com/");
+    assertUserAgentForURLHasMacPlatformQuirk("http://outlook.office.com/");
     assertUserAgentForURLHasMacPlatformQuirk("http://mail.ntu.edu.tw/");
     assertUserAgentForURLHasMacPlatformQuirk("http://exchange.tu-berlin.de/");
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to