[webkit-changes] [WebKit/WebKit] 86dd02: REGRESSION (267754 at main): Unable to play embedded ...

aestes noreply at github.com
Fri Nov 3 13:21:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 86dd02d51f92ee483eecf65ff8e52047f3df066e
      https://github.com/WebKit/WebKit/commit/86dd02d51f92ee483eecf65ff8e52047f3df066e
  Author: Andy Estes <aestes at apple.com>
  Date:   2023-11-03 (Fri, 03 Nov 2023)

  Changed paths:
    M Source/WTF/wtf/cocoa/RuntimeApplicationChecksCocoa.cpp
    M Source/WTF/wtf/cocoa/RuntimeApplicationChecksCocoa.h
    M Source/WTF/wtf/spi/darwin/dyldSPI.h
    M Source/WebCore/loader/DocumentLoader.cpp

  Log Message:
  -----------
  REGRESSION (267754 at main): Unable to play embedded web videos in iWork apps
https://bugs.webkit.org/show_bug.cgi?id=264135
rdar://116493190

Reviewed by Chris Dumez.

In 267754 at main we changed DocumentLoader to cancel loads to about: URLs that are not well-known, but
iWork apps load embedded web videos using URLs of the form "about:blank/<uuid>". To maintain binary
compatibility, added a quirk to allow loading any about: URL in apps linked before iOS 17.2 and
macOS 14.2 SDKs.

* Source/WTF/wtf/cocoa/RuntimeApplicationChecksCocoa.cpp:
(WTF::computeSDKAlignedBehaviors):
* Source/WTF/wtf/cocoa/RuntimeApplicationChecksCocoa.h:
* Source/WTF/wtf/spi/darwin/dyldSPI.h:
* Source/WebCore/loader/DocumentLoader.cpp:
(WebCore::shouldCancelLoadingAboutURL):
(WebCore::DocumentLoader::startLoadingMainResource):

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




More information about the webkit-changes mailing list