Changeset 102701 in webkit


Ignore:
Timestamp:
Dec 13, 2011 1:27:15 PM (12 years ago)
Author:
vsevik@chromium.org
Message:

Web Inspector: [Regression] ResourceHeadersView sections should be expanded by default.
https://bugs.webkit.org/show_bug.cgi?id=74434

Reviewed by Pavel Feldman.

  • inspector/front-end/treeoutline.js:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r102699 r102701  
     12011-12-13  Vsevolod Vlasov  <vsevik@chromium.org>
     2
     3        Web Inspector: [Regression] ResourceHeadersView sections should be expanded by default.
     4        https://bugs.webkit.org/show_bug.cgi?id=74434
     5
     6        Reviewed by Pavel Feldman.
     7
     8        * inspector/front-end/treeoutline.js:
     9
    1102011-12-13  Vsevolod Vlasov  <vsevik@chromium.org>
    211
  • trunk/Source/WebCore/inspector/front-end/treeoutline.js

    r102671 r102701  
    9898    }
    9999
    100     child.expanded = child.hasChildren && !!child.treeOutline._expandedStateMap.get(child.representedObject);
     100    if (child.hasChildren && typeof(child.treeOutline._expandedStateMap.get(child.representedObject)) !== "undefined")
     101        child.expanded = child.treeOutline._expandedStateMap.get(child.representedObject);
    101102
    102103    if (!this._childrenListNode) {
Note: See TracChangeset for help on using the changeset viewer.