Changeset 141563 in webkit
- Timestamp:
- Feb 1, 2013 2:07:25 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r141561 r141563 1 2013-02-01 Vsevolod Vlasov <vsevik@chromium.org> 2 3 Web Inspector: Sources panel navigator reveal and expand fixes. 4 https://bugs.webkit.org/show_bug.cgi?id=108584 5 6 Reviewed by Pavel Feldman. 7 8 Navigator folders are not expanded by default anymore. 9 Made domain folder expanded for inspected page main frame domain. 10 UISourceCodes are now added to navigator before editor container 11 so that they could be revealed if editor container decides to show them. 12 13 * inspector/front-end/NavigatorView.js: 14 (WebInspector.BaseNavigatorTreeElement.prototype.onattach): 15 (WebInspector.NavigatorFolderTreeElement.prototype.onattach): 16 * inspector/front-end/ScriptsPanel.js: 17 (WebInspector.ScriptsPanel.prototype._addUISourceCode): 18 1 19 2013-02-01 Andrey Adaikin <aandrey@chromium.org> 2 20 -
trunk/Source/WebCore/inspector/front-end/NavigatorView.js
r141558 r141563 461 461 this.titleElement.appendChild(this._titleTextNode); 462 462 this.listItemElement.appendChild(this.titleElement); 463 this.expand();464 463 }, 465 464 … … 537 536 { 538 537 WebInspector.BaseNavigatorTreeElement.prototype.onattach.call(this); 539 if (this.isDomain && this.titleText != WebInspector.inspectedPageDomain) 538 if (this.isDomain && this.titleText === WebInspector.inspectedPageDomain) 539 this.expand(); 540 else 540 541 this.collapse(); 541 else542 this.expand();543 542 }, 544 543 -
trunk/Source/WebCore/inspector/front-end/ScriptsPanel.js
r141249 r141563 246 246 if (uiSourceCode.project().isServiceProject()) 247 247 return; 248 this._navigator.addUISourceCode(uiSourceCode); 248 249 this._editorContainer.addUISourceCode(uiSourceCode); 249 this._navigator.addUISourceCode(uiSourceCode);250 250 // Replace debugger script-based uiSourceCode with a network-based one. 251 251 var currentUISourceCode = this._currentUISourceCode;
Note: See TracChangeset
for help on using the changeset viewer.