Title: [249995] branches/safari-608-branch/Source/WebKit
Revision
249995
Author
[email protected]
Date
2019-09-17 15:29:36 -0700 (Tue, 17 Sep 2019)

Log Message

Cherry-pick r249757. rdar://problem/55427273

    REGRESSION: Scrubbing on ted.com does not work well
    https://bugs.webkit.org/show_bug.cgi?id=201635
    <rdar://problem/51463649>

    Patch by Antoine Quint <[email protected]> on 2019-09-11
    Reviewed by Dean Jackson.

    This website uses custom media controls that simply don't work well on iOS when the User-Agent string is the desktop one, so we default to the mobile UA.

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

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

Modified Paths

Diff

Modified: branches/safari-608-branch/Source/WebKit/ChangeLog (249994 => 249995)


--- branches/safari-608-branch/Source/WebKit/ChangeLog	2019-09-17 22:29:34 UTC (rev 249994)
+++ branches/safari-608-branch/Source/WebKit/ChangeLog	2019-09-17 22:29:36 UTC (rev 249995)
@@ -1,5 +1,36 @@
 2019-09-17  Kocsen Chung  <[email protected]>
 
+        Cherry-pick r249757. rdar://problem/55427273
+
+    REGRESSION: Scrubbing on ted.com does not work well
+    https://bugs.webkit.org/show_bug.cgi?id=201635
+    <rdar://problem/51463649>
+    
+    Patch by Antoine Quint <[email protected]> on 2019-09-11
+    Reviewed by Dean Jackson.
+    
+    This website uses custom media controls that simply don't work well on iOS when the User-Agent string is the desktop one, so we default to the mobile UA.
+    
+    * UIProcess/ios/WebPageProxyIOS.mm:
+    (WebKit::desktopClassBrowsingRecommendedForRequest):
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249757 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2019-09-11  Antoine Quint  <[email protected]>
+
+            REGRESSION: Scrubbing on ted.com does not work well
+            https://bugs.webkit.org/show_bug.cgi?id=201635
+            <rdar://problem/51463649>
+
+            Reviewed by Dean Jackson.
+
+            This website uses custom media controls that simply don't work well on iOS when the User-Agent string is the desktop one, so we default to the mobile UA.
+
+            * UIProcess/ios/WebPageProxyIOS.mm:
+            (WebKit::desktopClassBrowsingRecommendedForRequest):
+
+2019-09-17  Kocsen Chung  <[email protected]>
+
         Cherry-pick r249754. rdar://problem/55427271
 
     REGRESSION (r233780): After swiping to navigate back, pinching to zoom in on webcontent snaps back to zoomed out when letting go

Modified: branches/safari-608-branch/Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm (249994 => 249995)


--- branches/safari-608-branch/Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm	2019-09-17 22:29:34 UTC (rev 249994)
+++ branches/safari-608-branch/Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm	2019-09-17 22:29:36 UTC (rev 249995)
@@ -1339,6 +1339,9 @@
     if (equalLettersIgnoringASCIICase(host, "trello.com") || host.endsWithIgnoringASCIICase(".trello.com"))
         return false;
 
+    if (equalLettersIgnoringASCIICase(host, "ted.com") || host.endsWithIgnoringASCIICase(".ted.com"))
+        return false;
+
     if (host.containsIgnoringASCIICase("hsbc.")) {
         if (equalLettersIgnoringASCIICase(host, "hsbc.com.au") || host.endsWithIgnoringASCIICase(".hsbc.com.au"))
             return false;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to