Changeset 114368 in webkit
- Timestamp:
- Apr 17, 2012, 6:03:55 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r114367 r114368 1 2012-04-17 Pavel Feldman <pfeldman@chromium.org> 2 3 Web Inspector: [regression r112413]content scripts tree outline is not added to the tab. 4 https://bugs.webkit.org/show_bug.cgi?id=84146 5 6 Reviewed by Vsevolod Vlasov. 7 8 Adding the tree to the container. 9 10 * inspector/front-end/ScriptsNavigator.js: 11 (WebInspector.ScriptsNavigator): 12 1 13 2012-04-17 Mariusz Grzegorczyk <mariusz.g@samsung.com> 2 14 -
trunk/Source/WebCore/inspector/front-end/ScriptsNavigator.js
r113563 r114368 48 48 49 49 var scriptsTreeElement = document.createElement("ol"); 50 var scriptsView = new WebInspector.View(); 51 scriptsView.element.addStyleClass("fill"); 52 scriptsView.element.addStyleClass("navigator-container"); 50 this._scriptsTree = new WebInspector.NavigatorTreeOutline(this, scriptsTreeElement); 51 53 52 var scriptsOutlineElement = document.createElement("div"); 54 53 scriptsOutlineElement.addStyleClass("outline-disclosure"); 55 54 scriptsOutlineElement.addStyleClass("navigator"); 56 55 scriptsOutlineElement.appendChild(scriptsTreeElement); 56 57 var scriptsView = new WebInspector.View(); 58 scriptsView.element.addStyleClass("fill"); 59 scriptsView.element.addStyleClass("navigator-container"); 57 60 scriptsView.element.appendChild(scriptsOutlineElement); 58 this._scriptsTree = new WebInspector.NavigatorTreeOutline(this, scriptsTreeElement); 61 59 62 this._tabbedPane.appendTab(WebInspector.ScriptsNavigator.ScriptsTab, WebInspector.UIString("Scripts"), scriptsView); 60 63 this._tabbedPane.selectTab(WebInspector.ScriptsNavigator.ScriptsTab); 61 64 62 65 var contentScriptsTreeElement = document.createElement("ol"); 63 var contentScriptsView = new WebInspector.View(); 64 contentScriptsView.element.addStyleClass("fill"); 65 contentScriptsView.element.addStyleClass("navigator-container"); 66 this._contentScriptsTree = new WebInspector.NavigatorTreeOutline(this, contentScriptsTreeElement); 67 66 68 var contentScriptsOutlineElement = document.createElement("div"); 67 69 contentScriptsOutlineElement.addStyleClass("outline-disclosure"); 68 70 contentScriptsOutlineElement.addStyleClass("navigator"); 69 71 contentScriptsOutlineElement.appendChild(contentScriptsTreeElement); 70 this._contentScriptsTree = new WebInspector.NavigatorTreeOutline(this, contentScriptsTreeElement); 72 73 var contentScriptsView = new WebInspector.View(); 74 contentScriptsView.element.addStyleClass("fill"); 75 contentScriptsView.element.addStyleClass("navigator-container"); 76 contentScriptsView.element.appendChild(contentScriptsOutlineElement); 77 71 78 this._tabbedPane.appendTab(WebInspector.ScriptsNavigator.ContentScriptsTab, WebInspector.UIString("Content scripts"), contentScriptsView); 72 79 … … 473 480 if ((domain === "" && folderName === "") || !showScriptFolders) 474 481 return isContentScript ? this._contentScriptsTree : this._scriptsTree; 475 482 476 483 var parentFolderElement; 477 484 if (folderName === "")
Note:
See TracChangeset
for help on using the changeset viewer.