Changeset 107209 in webkit
- Timestamp:
- Feb 9, 2012 3:28:57 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r107208 r107209 1 2012-02-09 Vsevolod Vlasov <vsevik@chromium.org> 2 3 Web Inspector: Scripts navigator fails to reopen previously closed script. 4 https://bugs.webkit.org/show_bug.cgi?id=78212 5 6 Reviewed by Pavel Feldman. 7 8 * inspector/front-end/ScriptsPanel.js: 9 (WebInspector.ScriptsPanel.prototype._reset): 10 (WebInspector.ScriptsPanel.prototype._showFile): 11 (WebInspector.ScriptsPanel.prototype._editorClosed): 12 * inspector/front-end/TabbedEditorContainer.js: 13 (WebInspector.TabbedEditorContainer.prototype._tabClosed): 14 1 15 2012-02-09 Shinya Kawanaka <shinyak@google.com> 2 16 -
trunk/Source/WebCore/inspector/front-end/ScriptsPanel.js
r106238 r107209 405 405 this._debuggerResumed(); 406 406 407 delete this._cur entUISourceCode;407 delete this._currentUISourceCode; 408 408 this._editorContainer.reset(); 409 409 this._updateScriptViewStatusBarItems(); … … 476 476 477 477 var sourceFrame = this._getOrCreateSourceFrame(uiSourceCode); 478 if (this._cur entUISourceCode === uiSourceCode)478 if (this._currentUISourceCode === uiSourceCode) 479 479 return sourceFrame; 480 this._cur entUISourceCode = uiSourceCode;480 this._currentUISourceCode = uiSourceCode; 481 481 482 482 this._fileSelector.revealUISourceCode(uiSourceCode); … … 630 630 var uiSourceCode = /** @type {WebInspector.UISourceCode} */ event.data; 631 631 632 if (this._currentUISourceCode === uiSourceCode) 633 delete this._currentUISourceCode; 634 632 635 // We don't need to update file selector here regardless of whether useScriptsNavigator is set or not: 633 636 // SingleFileEditorContainer never dispatches EditorClosed, so no need to update ComboBoxFileSelector; -
trunk/Source/WebCore/inspector/front-end/TabbedEditorContainer.js
r106238 r107209 207 207 this._tabIds.remove(uiSourceCode); 208 208 delete this._files[tabId]; 209 delete this._currentFile; 209 210 210 211 this.dispatchEventToListeners(WebInspector.EditorContainer.Events.EditorClosed, uiSourceCode);
Note: See TracChangeset
for help on using the changeset viewer.