Bug 244393

Summary: ImageAnalysisDuringFindInPage: if text match already found, UI update after image queue empties should not advance match
Product: WebKit Reporter: Dana Estra <destra>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Description Dana Estra 2022-08-26 09:42:23 PDT
With ImageAnalysisDuringFindInPage enabled on macOS, the second search for matches on the page that occurs after the ImageAnalysisQueue empties advances to the next match on the page regardless of whether the initial search found matches or not. Ideally this should only happen if the initial search found zero matches. This happens with both cmd+f and cmd+g.
Comment 1 Radar WebKit Bug Importer 2022-08-26 09:42:48 PDT
<rdar://problem/99191039>