Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 957ddd0c775176faf735e912d553937bd5c9f2f7
      
https://github.com/WebKit/WebKit/commit/957ddd0c775176faf735e912d553937bd5c9f2f7
  Author: Wenson Hsieh <wenson_hs...@apple.com>
  Date:   2025-02-04 (Tue, 04 Feb 2025)

  Changed paths:
    M Tools/TestWebKitAPI/Tests/ios/SelectionByWord.mm

  Log Message:
  -----------
  Unreviewed, fix the internal iOS engineering build
rdar://144198780

Fix the internal iOS build after the changes in rdar://141708947, which adds a 
new required method
to the `UITextInputDelegate` protocol. Change this mock testing object (whose 
only purpose is to
observe calls to `-selection{Will|Did}Change:`) so that it no longer conforms to
`UITextInputDelegate` at compile-time, and instead cast it to 
`id<UITextInputDelegate>` at runtime.

This is fine in practice, since there's no WebKit code that invokes the new 
required method from
within WebKit.

* Tools/TestWebKitAPI/Tests/ios/SelectionByWord.mm:
(TEST(SelectionTests, SelectedTextAfterSelectingWordForReplacement)):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to