-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[iOS] Suppress excessive logging due to calling into `-[UITextInterac…
…tionAssistant selectionView]` in API tests https://bugs.webkit.org/show_bug.cgi?id=263266 Reviewed by Aditya Keerthi. Swizzle out `-[UITextInteractionAssistant selectionView]` to return `nil` without added logging. When `UIKit/redesigned_text_cursor` is enabled, this method already returns `nil` anyways, and the feature flag is enabled by default everywhere where `HAVE(UI_TEXT_SELECTION_DISPLAY_INTERACTION)` is set. * Tools/TestRunnerShared/spi/UIKitSPIForTesting.h: * Tools/TestWebKitAPI/ios/mainIOS.mm: (overrideSelectionViewToSuppressLogging): (main): * Tools/WebKitTestRunner/ios/mainIOS.mm: (overrideSelectionViewToSuppressLogging): (main): Canonical link: https://commits.webkit.org/269422@main
- Loading branch information
Showing
3 changed files
with
39 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters