Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8367a12eaebd34c69df271a667f714de306e534f
      
https://github.com/WebKit/WebKit/commit/8367a12eaebd34c69df271a667f714de306e534f
  Author: Cole Carley <[email protected]>
  Date:   2026-10-06 (Tue, 06 Oct 2026)

  Changed paths:
    A Tools/TestWebKitAPI/Helpers/cocoa/FindInteractionTester.h
    A Tools/TestWebKitAPI/Helpers/cocoa/FindInteractionTester.mm
    M Tools/TestWebKitAPI/SourcesCocoa.txt
    A Tools/TestWebKitAPI/Tests/WebKit/WKWebView/FindInteraction.mm

  Log Message:
  -----------
  Add a find-in-page test harness for UIFindInteraction
https://bugs.webkit.org/show_bug.cgi?id=326095
rdar://189017796

Reviewed by Megan Gardner.

Add FindInteractionTester, which drives WKWebView's UITextSearching
implementation used by UIFindInteraction, and a set of tests that use it
with the shared find-in-page fixtures.

* Tools/TestWebKitAPI/Helpers/cocoa/FindInteractionTester.h: Added.
* Tools/TestWebKitAPI/Helpers/cocoa/FindInteractionTester.mm: Added.
(TestWebKitAPI::FindInteractionTester::FindInteractionTester):
(TestWebKitAPI::FindInteractionTester::~FindInteractionTester):
(TestWebKitAPI::FindInteractionTester::didBeginTextSearchOperation):
(TestWebKitAPI::FindInteractionTester::didEndTextSearchOperation):
(TestWebKitAPI::FindInteractionTester::performTextSearch):
(TestWebKitAPI::FindInteractionTester::decorateFoundTextRange):
(TestWebKitAPI::FindInteractionTester::clearAllDecoratedFoundText):
(TestWebKitAPI::FindInteractionTester::scrollRangeToVisible):
(TestWebKitAPI::FindInteractionTester::replaceFoundTextInRange):
(TestWebKitAPI::FindInteractionTester::rectForFoundTextRange):
* Tools/TestWebKitAPI/SourcesCocoa.txt:
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/FindInteraction.mm: Added.
(TestWebKitAPI::INSTANTIATE_TEST_SUITE_P):
(TestWebKitAPI::FindInteraction::searchOptions):
(TestWebKitAPI::TEST_P):

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



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

Reply via email to