Bug 82619

Summary: Web Inspector: SnippetsScriptMapping should process existing snippets on load.
Product: WebKit Reporter: Vsevolod Vlasov <vsevik>
Component: Web Inspector (Deprecated)Assignee: Vsevolod Vlasov <vsevik>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch pfeldman: review+

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>