Bug 75953 - Web Inspector: fix DebuggerPresentationModel::uiSourceCodes - do not iterate over same raw source code multiple times.
Summary: Web Inspector: fix DebuggerPresentationModel::uiSourceCodes - do not iterate ...
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: Pavel Feldman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-10 05:04 PST by Pavel Feldman
Modified: 2012-01-10 05:49 PST (History)
10 users (show)

See Also:


Attachments
Patch (5.43 KB, patch)
2012-01-10 05:25 PST, Pavel Feldman
yurys: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Feldman 2012-01-10 05:04:53 PST
Fix to follow.
Comment 1 Pavel Feldman 2012-01-10 05:25:27 PST
Created attachment 121833 [details]
Patch
Comment 2 Yury Semikhatsky 2012-01-10 05:36:14 PST
Comment on attachment 121833 [details]
Patch

Would be good to have a test for this.
Comment 3 Pavel Feldman 2012-01-10 05:47:31 PST
uiSources is already covered with the tests, I could add one, but it would be artificial, covering the only mocked scenario...
Comment 4 Pavel Feldman 2012-01-10 05:49:21 PST
Committed r104563: <http://trac.webkit.org/changeset/104563>