Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 58cdc35fd9f7095e246ecb853be71886bba6aeb5
https://github.com/WebKit/WebKit/commit/58cdc35fd9f7095e246ecb853be71886bba6aeb5
Author: Cole Carley <[email protected]>
Date: 2026-03-18 (Wed, 18 Mar 2026)
Changed paths:
M Source/WebKit/WebProcess/WebPage/FindController.cpp
M Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewFindString.mm
Log Message:
-----------
Find in Page match index is not being populated
https://bugs.webkit.org/show_bug.cgi?id=310120
rdar://172760529
Reviewed by Megan Gardner.
This was some fallout from this refactor:
https://commits.webkit.org/309268@main
The FindController index was not being populated. I also added
an API test to ensure this does not happen again.
* Source/WebKit/WebProcess/WebPage/FindController.cpp:
(WebKit::FindController::findString):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewFindString.mm:
(TestWebKitAPI::TEST(WKWebViewFindString,
MatchIndexIsCorrectWhenNavigatingForwardAndBackward)):
Canonical link: https://commits.webkit.org/309485@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications