Changeset 249757 in webkit


Ignore:
Timestamp:
Sep 11, 2019 12:01:57 AM (5 years ago)
Author:
commit-queue@webkit.org
Message:

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 <Antoine Quint> 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):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r249754 r249757  
     12019-09-11  Antoine Quint  <graouts@apple.com>
     2
     3        REGRESSION: Scrubbing on ted.com does not work well
     4        https://bugs.webkit.org/show_bug.cgi?id=201635
     5        <rdar://problem/51463649>
     6
     7        Reviewed by Dean Jackson.
     8
     9        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.
     10
     11        * UIProcess/ios/WebPageProxyIOS.mm:
     12        (WebKit::desktopClassBrowsingRecommendedForRequest):
     13
    1142019-09-10  Tim Horton  <timothy_horton@apple.com>
    215
  • trunk/Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm

    r249739 r249757  
    13331333        return false;
    13341334
     1335    if (equalLettersIgnoringASCIICase(host, "ted.com") || host.endsWithIgnoringASCIICase(".ted.com"))
     1336        return false;
     1337
    13351338    if (host.containsIgnoringASCIICase("hsbc.")) {
    13361339        if (equalLettersIgnoringASCIICase(host, "hsbc.com.au") || host.endsWithIgnoringASCIICase(".hsbc.com.au"))
Note: See TracChangeset for help on using the changeset viewer.