Title: [246313] trunk
Revision
246313
Author
[email protected]
Date
2019-06-11 08:27:08 -0700 (Tue, 11 Jun 2019)

Log Message

tu-berlin university email web interface (Outlook Web App) goes directly to the light version instead of the normal web app
https://bugs.webkit.org/show_bug.cgi?id=198749

Reviewed by Carlos Garcia Campos.

Source/WebCore:

Add user agent quirk for exchange.tu-berlin.de, which has lost the right to receive an
accurate user agent from WebKit.

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

Tools:

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (246312 => 246313)


--- trunk/Source/WebCore/ChangeLog	2019-06-11 15:13:59 UTC (rev 246312)
+++ trunk/Source/WebCore/ChangeLog	2019-06-11 15:27:08 UTC (rev 246313)
@@ -1,3 +1,16 @@
+2019-06-11  Michael Catanzaro  <[email protected]>
+
+        tu-berlin university email web interface (Outlook Web App) goes directly to the light version instead of the normal web app
+        https://bugs.webkit.org/show_bug.cgi?id=198749
+
+        Reviewed by Carlos Garcia Campos.
+
+        Add user agent quirk for exchange.tu-berlin.de, which has lost the right to receive an
+        accurate user agent from WebKit.
+
+        * platform/UserAgentQuirks.cpp:
+        (WebCore::urlRequiresMacintoshPlatform):
+
 2019-06-11  Youenn Fablet  <[email protected]>
 
         MediaStreamAudioSourceNode::setFormat should check for m_sourceSampleRate equality

Modified: trunk/Source/WebCore/platform/UserAgentQuirks.cpp (246312 => 246313)


--- trunk/Source/WebCore/platform/UserAgentQuirks.cpp	2019-06-11 15:13:59 UTC (rev 246312)
+++ trunk/Source/WebCore/platform/UserAgentQuirks.cpp	2019-06-11 15:27:08 UTC (rev 246313)
@@ -97,9 +97,11 @@
         return true;
 
     // Microsoft Outlook Web App forces users with WebKitGTK+'s standard user
-    // agent to use the light version. Earlier versions even blocks users from
+    // agent to use the light version. Earlier versions even block users from
     // accessing the calendar.
-    if (domain == "outlook.live.com" || domain == "mail.ntu.edu.tw")
+    if (domain == "outlook.live.com"
+        || domain == "mail.ntu.edu.tw"
+        || domain == "exchange.tu-berlin.de")
         return true;
 
     // Google Docs shows a scary unsupported browser warning with WebKitGTK+'s

Modified: trunk/Tools/ChangeLog (246312 => 246313)


--- trunk/Tools/ChangeLog	2019-06-11 15:13:59 UTC (rev 246312)
+++ trunk/Tools/ChangeLog	2019-06-11 15:27:08 UTC (rev 246313)
@@ -1,3 +1,13 @@
+2019-06-11  Michael Catanzaro  <[email protected]>
+
+        tu-berlin university email web interface (Outlook Web App) goes directly to the light version instead of the normal web app
+        https://bugs.webkit.org/show_bug.cgi?id=198749
+
+        Reviewed by Carlos Garcia Campos.
+
+        * TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp:
+        (TestWebKitAPI::TEST):
+
 2019-06-11  Wenson Hsieh  <[email protected]>
 
         Quotes are always inserted as smart quotes on stackblitz.com, causing compilation errors

Modified: trunk/Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp (246312 => 246313)


--- trunk/Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp	2019-06-11 15:13:59 UTC (rev 246312)
+++ trunk/Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp	2019-06-11 15:27:08 UTC (rev 246313)
@@ -95,6 +95,8 @@
     assertUserAgentForURLHasMacPlatformQuirk("http://docs.google.com/");
     assertUserAgentForURLHasMacPlatformQuirk("http://paypal.com/");
     assertUserAgentForURLHasMacPlatformQuirk("http://outlook.live.com/");
+    assertUserAgentForURLHasMacPlatformQuirk("http://mail.ntu.edu.tw/");
+    assertUserAgentForURLHasMacPlatformQuirk("http://exchange.tu-berlin.de/");
 }
 
 } // namespace TestWebKitAPI
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to