Bug 89219 - Web Inspector: extension's Resource.getContent always returns original revision.
Summary: Web Inspector: extension's Resource.getContent always returns original revision.
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-06-15 09:05 PDT by Pavel Feldman
Modified: 2012-06-15 09:50 PDT (History)
10 users (show)

See Also:


Attachments
Patch (9.13 KB, patch)
2012-06-15 09:26 PDT, Pavel Feldman
vsevik: 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-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>