Summary: | Web Inspector: recreate script view after live edit | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Pavel Podivilov <podivilov> | ||||||
Component: | Web Inspector (Deprecated) | Assignee: | Pavel Podivilov <podivilov> | ||||||
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
Pavel Podivilov
2010-12-30 08:33:55 PST
Created attachment 77681 [details]
Patch.
Created attachment 77684 [details]
Patch.
Comment on attachment 77684 [details] Patch. View in context: https://bugs.webkit.org/attachment.cgi?id=77684&action=review > WebCore/inspector/front-end/ScriptsPanel.js:316 > + script.resource.setContent(newBodyOrErrorMessage, revertEditingCallback); In the future, we'd like to edit inline script of say HTML resources. As a result, committing snippet content as resource content will become wrong. Committed r75500: <http://trac.webkit.org/changeset/75500> |