Changeset 76794 in webkit


Ignore:
Timestamp:
Jan 27, 2011 6:14:49 AM (13 years ago)
Author:
podivilov@chromium.org
Message:

2011-01-27 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r76789.
http://trac.webkit.org/changeset/76789
https://bugs.webkit.org/show_bug.cgi?id=53238

Broke GTK layout tests (Requested by podivilov on #webkit).

  • inspector/front-end/ScopeChainSidebarPane.js: (WebInspector.ScopeChainSidebarPane): (WebInspector.ScopeChainSidebarPane.prototype.update):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r76792 r76794  
     12011-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
    1132011-01-27  Yury Semikhatsky  <yurys@chromium.org>
    214
  • trunk/Source/WebCore/inspector/front-end/ScopeChainSidebarPane.js

    r76789 r76794  
    2727{
    2828    WebInspector.SidebarPane.call(this, WebInspector.UIString("Scope Variables"));
    29     this._sections = [];
    30     this._expandedSections = {};
    3129    this._expandedProperties = [];
    3230}
     
    3735        this.bodyElement.removeChildren();
    3836
     37        this.sections = [];
     38        this.callFrame = callFrame;
     39
    3940        if (!callFrame) {
    4041            var infoElement = document.createElement("div");
     
    4445            return;
    4546        }
    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             else
    54                 delete this._expandedSections[section.title];
    55         }
    56 
    57         this._sections = [];
    5847
    5948        var foundLocalScope = false;
     
    9382            section.pane = this;
    9483
    95             if (!foundLocalScope || scopeObjectProxy.isLocal || title in this._expandedSections)
     84            if (!foundLocalScope || scopeObjectProxy.isLocal)
    9685                section.expanded = true;
    9786
    98             this._sections.push(section);
     87            this.sections.push(section);
    9988            this.bodyElement.appendChild(section.element);
    10089        }
Note: See TracChangeset for help on using the changeset viewer.