Unreviewed, rolling out r230749
authormcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 May 2018 14:24:10 +0000 (14:24 +0000)
committermcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 May 2018 14:24:10 +0000 (14:24 +0000)
This did not work as desired.

Source/WebCore:

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

Tools:

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

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@231800 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/UserAgentQuirks.cpp
Tools/ChangeLog
Tools/TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp

index 6d21088..bed4a31 100644 (file)
@@ -1,3 +1,12 @@
+2018-05-15  Michael Catanzaro  <mcatanzaro@igalia.com>
+
+        Unreviewed, rolling out r230749
+
+        This did not work as desired.
+
+        * platform/UserAgentQuirks.cpp:
+        (WebCore::urlRequiresMacintoshPlatform):
+
 2018-05-15  Dirk Schulze  <krit@webkit.org>
 
         Add new SVGDOM SVGFEBLEND constants
index 5462829..947c83a 100644 (file)
@@ -101,10 +101,8 @@ static bool urlRequiresMacintoshPlatform(const URL& url)
     // 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 == "outlook.live.com"
-        || domain == "mail.ntu.edu.tw") {
+    if (domain == "mail.ntu.edu.tw")
         return true;
-    }
 
     // Google Docs shows a scary unsupported browser warning with WebKitGTK+'s
     // standard user agent.
index a772605..59c7bdb 100644 (file)
@@ -1,3 +1,12 @@
+2018-05-15  Michael Catanzaro  <mcatanzaro@igalia.com>
+
+        Unreviewed, rolling out r230749
+
+        This did not work as desired.
+
+        * TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp:
+        (TestWebKitAPI::TEST):
+
 2018-05-15  Antoine Quint  <graouts@apple.com>
 
         [Web Animations] Expose Web Animations CSS integration as an experimental feature
index f945974..c3b8344 100644 (file)
@@ -92,7 +92,6 @@ TEST(UserAgentTest, Quirks)
     assertUserAgentForURLHasMacPlatformQuirk("http://intl.taobao.com/");
     assertUserAgentForURLHasMacPlatformQuirk("http://www.whatsapp.com/");
     assertUserAgentForURLHasMacPlatformQuirk("http://web.whatsapp.com/");
-    assertUserAgentForURLHasMacPlatformQuirk("http://outlook.live.com/");
     assertUserAgentForURLHasMacPlatformQuirk("http://www.chase.com/");
     assertUserAgentForURLHasMacPlatformQuirk("http://docs.google.com/");
 }