Changeset 76794 in webkit
- Timestamp:
- Jan 27, 2011 6:14:49 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r76792 r76794 1 2011-01-27 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r76789. 4 http://trac.webkit.org/changeset/76789 5 https://bugs.webkit.org/show_bug.cgi?id=53238 6 7 Broke GTK layout tests (Requested by podivilov on #webkit). 8 9 * inspector/front-end/ScopeChainSidebarPane.js: 10 (WebInspector.ScopeChainSidebarPane): 11 (WebInspector.ScopeChainSidebarPane.prototype.update): 12 1 13 2011-01-27 Yury Semikhatsky <yurys@chromium.org> 2 14 -
trunk/Source/WebCore/inspector/front-end/ScopeChainSidebarPane.js
r76789 r76794 27 27 { 28 28 WebInspector.SidebarPane.call(this, WebInspector.UIString("Scope Variables")); 29 this._sections = [];30 this._expandedSections = {};31 29 this._expandedProperties = []; 32 30 } … … 37 35 this.bodyElement.removeChildren(); 38 36 37 this.sections = []; 38 this.callFrame = callFrame; 39 39 40 if (!callFrame) { 40 41 var infoElement = document.createElement("div"); … … 44 45 return; 45 46 } 46 47 for (var i = 0; i < this._sections.length; ++i) {48 var section = this._sections[i];49 if (!section.title)50 continue;51 if (section.expanded)52 this._expandedSections[section.title] = true;53 else54 delete this._expandedSections[section.title];55 }56 57 this._sections = [];58 47 59 48 var foundLocalScope = false; … … 93 82 section.pane = this; 94 83 95 if (!foundLocalScope || scopeObjectProxy.isLocal || title in this._expandedSections)84 if (!foundLocalScope || scopeObjectProxy.isLocal) 96 85 section.expanded = true; 97 86 98 this. _sections.push(section);87 this.sections.push(section); 99 88 this.bodyElement.appendChild(section.element); 100 89 }
Note: See TracChangeset
for help on using the changeset viewer.