Bug 89219

Summary: Web Inspector: extension's Resource.getContent always returns original revision.
Product: WebKit Reporter: Pavel Feldman <pfeldman>
Component: Web Inspector (Deprecated)Assignee: Pavel Feldman <pfeldman>
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 vsevik: review+

Description Pavel Feldman 2012-06-15 09:05:16 PDT
It regressed when we moved editing support to UISourceCode.
Comment 1 Pavel Feldman 2012-06-15 09:26:52 PDT
Created attachment 147836 [details]
Patch
Comment 2 Vsevolod Vlasov 2012-06-15 09:44:16 PDT
Comment on attachment 147836 [details]
Patch

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

> Source/WebCore/inspector/front-end/DebuggerResourceBinding.js:100
> +        resource.requestContent(this._setContentWithInitialContent.bind(this, /** @type {WebInspector.JavaScriptSource} */uiSourceCode, content, userCallback));

Please add a space after the comment.
Comment 3 Pavel Feldman 2012-06-15 09:50:59 PDT
Committed r120471: <http://trac.webkit.org/changeset/120471>