Title: [247332] trunk/Source/WebKit
Revision
247332
Author
[email protected]
Date
2019-07-10 16:36:01 -0700 (Wed, 10 Jul 2019)

Log Message

Opt trello.com to mobile UA
https://bugs.webkit.org/show_bug.cgi?id=199686
rdar://problem/51708119

Reviewed by Wenson Hsieh.

* UIProcess/ios/WebPageProxyIOS.mm:
(WebKit::desktopClassBrowsingRecommendedForRequest): Currently the desktop version
of the site prevents users from tapping cards to edit them. Opt trello into the mobile
UA for now.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (247331 => 247332)


--- trunk/Source/WebKit/ChangeLog	2019-07-10 23:08:27 UTC (rev 247331)
+++ trunk/Source/WebKit/ChangeLog	2019-07-10 23:36:01 UTC (rev 247332)
@@ -1,3 +1,16 @@
+2019-07-10  Jon Lee  <[email protected]>
+
+        Opt trello.com to mobile UA
+        https://bugs.webkit.org/show_bug.cgi?id=199686
+        rdar://problem/51708119
+
+        Reviewed by Wenson Hsieh.
+
+        * UIProcess/ios/WebPageProxyIOS.mm:
+        (WebKit::desktopClassBrowsingRecommendedForRequest): Currently the desktop version
+        of the site prevents users from tapping cards to edit them. Opt trello into the mobile
+        UA for now.
+
 2019-07-10  Daniel Bates  <[email protected]>
 
         [iOS] Selection handles "Lollipops" can become gray and stay gray

Modified: trunk/Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm (247331 => 247332)


--- trunk/Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm	2019-07-10 23:08:27 UTC (rev 247331)
+++ trunk/Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm	2019-07-10 23:36:01 UTC (rev 247332)
@@ -1303,6 +1303,9 @@
     if (equalLettersIgnoringASCIICase(host, "v.china.com.cn"))
         return false;
 
+    if (equalLettersIgnoringASCIICase(host, "trello.com") || host.endsWithIgnoringASCIICase(".trello.com"))
+        return false;
+
     return true;
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to