Bug 13794
Summary: | REGRESSION(r20166): 15 second hang performing Find for a word not on the page | ||
---|---|---|---|
Product: | WebKit | Reporter: | Justin Garcia <justin.garcia> |
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | mbritto, sroret |
Priority: | P1 | Keywords: | InRadar, Regression |
Version: | 523.x (Safari 3) | ||
Hardware: | Mac | ||
OS: | OS X 10.4 |
Justin Garcia
Goto: http://www.amazon.com/s/ref=nb_ss_m/103-8093661-7547810?url=search-alias%3Dpopular&field-keywords=cramps&Go.x=0&Go.y=0&Go=Go
Search for "badd"
Safari SPODS for about 10 seconds.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Justin Garcia
Here's the sample:
97.8% WebCore::findPlainText(WebCore::Range const*, WebCore::String const&, bool, bool)
97.7% WebCore::CharacterIterator::CharacterIterator[in-charge](WebCore::Range const*, bool)
97.7% WebCore::TextIterator::TextIterator[in-charge](WebCore::Range const*, bool)
97.7% WebCore::TextIterator::advance()
97.7% WebCore::TextIterator::handleNonTextNode()
97.7% WebCore::TextIterator::representNodeOffsetZero()
97.7% WebCore::TextIterator::shouldRepresentNodeOffsetZero()
97.7% WebCore::VisiblePosition::VisiblePosition[in-charge](WebCore::Node*, int, WebCore::EAffinity)
Regressed in r20166.
<rdar://problem/5216576> REGRESSION(r20166): 15 second hang performing Find for a word not on the page
Maxime BRITTO
I can't reproduce this bug on Safari 3.0 (522.11) and r23487
Adele Peterson
Seems to be fixed.