[webkit-changes] [WebKit/WebKit] f8cce6: [iOS] Facebook videos don't respond to the video c...

Jer Noble noreply at github.com
Wed Oct 25 19:48:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f8cce62587ec5ac1db7c84de7d0360232329d32c
      https://github.com/WebKit/WebKit/commit/f8cce62587ec5ac1db7c84de7d0360232329d32c
  Author: Jer Noble <jer.noble at apple.com>
  Date:   2023-10-25 (Wed, 25 Oct 2023)

  Changed paths:
    M Source/WebCore/page/Quirks.cpp
    M Source/WebCore/page/Quirks.h
    M Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm

  Log Message:
  -----------
  [iOS] Facebook videos don't respond to the video controls when using an iOS 17.2 User Agent
https://bugs.webkit.org/show_bug.cgi?id=263657
rdar://117085232

Reviewed by Eric Carlson.

Add a Quirk that sends the iOS 16.6.1 UA string for facebook.com.

* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::shouldAvoidUsingIOS13ForGmail const):
(WebCore::Quirks::shouldAvoidUsingIOS17UserAgentForFacebook const):
* Source/WebCore/page/Quirks.h:
* Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::platformUserAgent const):

Canonical link: https://commits.webkit.org/269797@main




More information about the webkit-changes mailing list