Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 76f35ddd2dcfe307bccb1079556a915af28c98c5
https://github.com/WebKit/WebKit/commit/76f35ddd2dcfe307bccb1079556a915af28c98c5
Author: Cole Carley <[email protected]>
Date: 2026-04-17 (Fri, 17 Apr 2026)
Changed paths:
M Source/WebCore/editing/CachedMatchFinder.cpp
Log Message:
-----------
Only use match-affecting find options as cache keys in the CachedMatchFinder
rdar://174963348
https://bugs.webkit.org/show_bug.cgi?id=312523
Reviewed by Ryosuke Niwa.
All the find options are used as a cache key in the CachedMatchFinder even
though only some affect the matches.
To fix this issue, I filter the options down to only the ones that affect
matches.
* Source/WebCore/editing/CachedMatchFinder.cpp:
(WebCore::matchAffectingOptions):
(WebCore::CachedMatchFinder::findMatches):
(WebCore::CachedMatchFinder::countMatches):
(WebCore::CachedMatchFinder::isSearchResultCacheValid const):
Canonical link: https://commits.webkit.org/311462@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications