Bug 108575 - Web Inspector: Use String.prototype.startsWith instead of String.prototype.indexOf when possible
Summary: Web Inspector: Use String.prototype.startsWith instead of String.prototype.in...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Vsevolod Vlasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-31 21:27 PST by Vsevolod Vlasov
Modified: 2013-02-01 00:21 PST (History)
9 users (show)

See Also:


Attachments
Patch (7.30 KB, patch)
2013-01-31 21:41 PST, Vsevolod Vlasov
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vsevolod Vlasov 2013-01-31 21:27:14 PST
It is faster and more readable.
Patch to follow
Comment 1 Vsevolod Vlasov 2013-01-31 21:41:33 PST
Created attachment 185939 [details]
Patch
Comment 2 WebKit Review Bot 2013-02-01 00:21:09 PST
Comment on attachment 185939 [details]
Patch

Clearing flags on attachment: 185939

Committed r141547: <http://trac.webkit.org/changeset/141547>
Comment 3 WebKit Review Bot 2013-02-01 00:21:12 PST
All reviewed patches have been landed.  Closing bug.