Extract FileEditor from ScriptsPanel.
Created attachment 120557 [details] Patch
Comment on attachment 120557 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=120557&action=review Please rename new interface and a class prior to landing. > Source/WebCore/inspector/front-end/ScriptsPanel.js:1073 > +WebInspector.ScriptsPanel.FileEditor = function() { } FileEditor is not a great name for this. We have TextViewer (that was renamed from TextEditor when we stripped editing capabilities that should be renamed back). This looks like a WebInspector.EditorContainer to me. > Source/WebCore/inspector/front-end/UISourceCode.js:145 > + if (!this._fileName) What if fileName is "" ?
Committed r103690: <http://trac.webkit.org/changeset/103690>