[Webkit-unassigned] [Bug 89946] Enforce WebFrameImpl::scopeStringMatches reset flag to start a new search

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 26 04:18:59 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=89946


Finnur Thorarinsson <finnur.webkit at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |finnur.webkit at gmail.com




--- Comment #2 from Finnur Thorarinsson <finnur.webkit at gmail.com>  2012-06-26 04:18:58 PST ---
I don't think this is the right fix either. 

Before this change, frames that completed the Find operation and reported 0 matches will not be searched again if you just add more characters to the search. That's no longer the case with this change (basically this disables the optimization altogether). We should be very careful in changing that because in previous tests making that change killed Find performance in large applications like Gmail, if I recall.

I guess what needs to happen is that we need to figure out the performance impact of removing this optimization. If it is negligible we can remove all the code below the ASSERT in shouldScopeMatches (and just return true), which might on its own be enough to fix this bug. 

If that isn't working, then we need to find a way on LOAD_COMMITTED to notify webkit that the frame needs to be searched, even if it returned 0 matches last time. I don't remember if we can trigger something to happen on LOAD_COMMITTED in Webkit (we could then clear the "dont-search-again" flag, I guess), but if not then we'd need to plumb a message down to Webkit from the Browser process to ask it to clear the flag for a particular frame.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list