Bug 51751

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 Flags
Patch.
none
Patch. pfeldman: review+

Pavel Podivilov
Reported 2010-12-30 08:33:55 PST
Recreate script view after live edit like it is done for source views.
Attachments
Patch. (4.96 KB, patch)
2010-12-30 08:34 PST, Pavel Podivilov
no flags
Patch. (5.89 KB, patch)
2010-12-30 09:03 PST, Pavel Podivilov
pfeldman: review+
Pavel Podivilov
Comment 1 2010-12-30 08:34:46 PST
Pavel Podivilov
Comment 2 2010-12-30 09:03:25 PST
Pavel Feldman
Comment 3 2011-01-11 04:39:14 PST
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.
Pavel Podivilov
Comment 4 2011-01-11 06:37:51 PST
Note You need to log in before you can comment on or make changes to this bug.