[webkit-changes] [WebKit/WebKit] b9c607: Unreviewed, fix the internal visionOS build after ...

Wenson Hsieh noreply at github.com
Wed Sep 11 20:31:50 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b9c607b04a343b71732d036fbd04bb9acde23f44
      https://github.com/WebKit/WebKit/commit/b9c607b04a343b71732d036fbd04bb9acde23f44
  Author: Wenson Hsieh <wenson_hsieh at apple.com>
  Date:   2024-09-11 (Wed, 11 Sep 2024)

  Changed paths:
    M Tools/TestRunnerShared/spi/UIKitSPIForTesting.h
    M Tools/TestWebKitAPI/Tests/ios/DragAndDropTestsIOS.mm
    M Tools/TestWebKitAPI/ios/DragAndDropSimulatorIOS.mm

  Log Message:
  -----------
  Unreviewed, fix the internal visionOS build after 283463 at main
rdar://135836296

`UIDragInteractionDelegate_ForWebKitOnly` was removed from underneath us in some versions of the
visionOS SDK, which breaks the TestWebKitAPI build. Work around this for the time being, by defining
our own protocol that contains both methods in the IPI section and using that protocol instead.

* Tools/TestRunnerShared/spi/UIKitSPIForTesting.h:
* Tools/TestWebKitAPI/Tests/ios/DragAndDropTestsIOS.mm:
(TestWebKitAPI::TEST(DragAndDropTests, UnresponsivePageDoesNotHangUI)):
* Tools/TestWebKitAPI/ios/DragAndDropSimulatorIOS.mm:
(-[DragAndDropSimulator runFrom:to:additionalItemRequestLocations:]):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list