Title: [247357] trunk/Source/WebKit
Revision
247357
Author
commit-qu...@webkit.org
Date
2019-07-11 11:39:16 -0700 (Thu, 11 Jul 2019)

Log Message

Use mobile UA on jsfiddle.net
https://bugs.webkit.org/show_bug.cgi?id=199687
<rdar://problem/50839844>

Patch by Alex Christensen <achristen...@webkit.org> on 2019-07-11
Reviewed by Maciej Stachowiak.

Text selection does not work on iPads using desktop UA.
This isn't the best solution, but it's certainly *a* solution.

* UIProcess/ios/WebPageProxyIOS.mm:
(WebKit::desktopClassBrowsingRecommendedForRequest):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (247356 => 247357)


--- trunk/Source/WebKit/ChangeLog	2019-07-11 18:36:57 UTC (rev 247356)
+++ trunk/Source/WebKit/ChangeLog	2019-07-11 18:39:16 UTC (rev 247357)
@@ -1,3 +1,17 @@
+2019-07-11  Alex Christensen  <achristen...@webkit.org>
+
+        Use mobile UA on jsfiddle.net
+        https://bugs.webkit.org/show_bug.cgi?id=199687
+        <rdar://problem/50839844>
+
+        Reviewed by Maciej Stachowiak.
+
+        Text selection does not work on iPads using desktop UA.
+        This isn't the best solution, but it's certainly *a* solution.
+
+        * UIProcess/ios/WebPageProxyIOS.mm:
+        (WebKit::desktopClassBrowsingRecommendedForRequest):
+
 2019-07-11  Jonathan Bedard  <jbed...@apple.com>
 
         [iOS 13] Enable WebKit build

Modified: trunk/Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm (247356 => 247357)


--- trunk/Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm	2019-07-11 18:36:57 UTC (rev 247356)
+++ trunk/Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm	2019-07-11 18:39:16 UTC (rev 247357)
@@ -1288,6 +1288,9 @@
     if (equalLettersIgnoringASCIICase(host, "live.iqiyi.com") || host.endsWithIgnoringASCIICase(".live.iqiyi.com"))
         return false;
 
+    if (equalLettersIgnoringASCIICase(host, "jsfiddle.net") || host.endsWithIgnoringASCIICase(".jsfiddle.net"))
+        return false;
+
     if (equalLettersIgnoringASCIICase(host, "video.sina.com.cn") || host.endsWithIgnoringASCIICase(".video.sina.com.cn"))
         return false;
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to