Bug 82619 - Web Inspector: SnippetsScriptMapping should process existing snippets on load.
Summary: Web Inspector: SnippetsScriptMapping should process existing snippets on load.
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: 2012-03-29 08:49 PDT by Vsevolod Vlasov
Modified: 2012-03-29 09:46 PDT (History)
10 users (show)

See Also:


Attachments
Patch (3.52 KB, patch)
2012-03-29 08:51 PDT, Vsevolod Vlasov
pfeldman: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vsevolod Vlasov 2012-03-29 08:49:17 PDT
Otherwise scripts panel shows snippets created during current session only.
Comment 1 Vsevolod Vlasov 2012-03-29 08:51:46 PDT
Created attachment 134595 [details]
Patch
Comment 2 Pavel Feldman 2012-03-29 09:21:25 PDT
Comment on attachment 134595 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=134595&action=review

> Source/WebCore/inspector/front-end/SnippetsModel.js:67
> +        var result = [];

Nit: you could introduce Object.prototype.valuesArray
Comment 3 Vsevolod Vlasov 2012-03-29 09:46:10 PDT
Committed r112541: <http://trac.webkit.org/changeset/112541>