WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
22538
StringImpl::startsWith uses find which searches the whole string.
https://bugs.webkit.org/show_bug.cgi?id=22538
Summary
StringImpl::startsWith uses find which searches the whole string.
David Levin
Reported
2008-11-28 00:02:46 PST
It wouldn't if it used StringImpl::reverseFind.
Attachments
Simply changes the find to reverseFind in StringImpl::startswith
(1.59 KB, patch)
2008-11-28 08:26 PST
,
David Levin
eric
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
David Levin
Comment 1
2008-11-28 08:26:49 PST
Created
attachment 25573
[details]
Simply changes the find to reverseFind in StringImpl::startswith
Eric Seidel (no email)
Comment 2
2008-12-01 13:01:03 PST
Comment on
attachment 25573
[details]
Simply changes the find to reverseFind in StringImpl::startswith Looks fine to me.
Eric Seidel (no email)
Comment 3
2008-12-02 12:27:45 PST
Committing to
http://svn.webkit.org/repository/webkit/trunk
... M WebCore/ChangeLog M WebCore/platform/text/StringImpl.h Committed
r38910
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug