Recreate script view after live edit like it is done for source views.
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>