Title: [219270] trunk/Source/WebInspectorUI
Revision
219270
Author
[email protected]
Date
2017-07-07 14:44:18 -0700 (Fri, 07 Jul 2017)

Log Message

Web Inspector: Resources are sometimes missing from the tree outline right before folderizing
https://bugs.webkit.org/show_bug.cgi?id=174277

Reviewed by Joseph Pecoraro.

* UserInterface/Views/TreeElement.js:
(WebInspector.TreeElement.prototype.expand):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (219269 => 219270)


--- trunk/Source/WebInspectorUI/ChangeLog	2017-07-07 21:33:26 UTC (rev 219269)
+++ trunk/Source/WebInspectorUI/ChangeLog	2017-07-07 21:44:18 UTC (rev 219270)
@@ -1,5 +1,15 @@
 2017-07-07  Devin Rousso  <[email protected]>
 
+        Web Inspector: Resources are sometimes missing from the tree outline right before folderizing
+        https://bugs.webkit.org/show_bug.cgi?id=174277
+
+        Reviewed by Joseph Pecoraro.
+
+        * UserInterface/Views/TreeElement.js:
+        (WebInspector.TreeElement.prototype.expand):
+
+2017-07-07  Devin Rousso  <[email protected]>
+
         Web Inspector: REGRESSION(r217258): WebSocket resource tree elements don't show the connection status
         https://bugs.webkit.org/show_bug.cgi?id=174274
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/TreeElement.js (219269 => 219270)


--- trunk/Source/WebInspectorUI/UserInterface/Views/TreeElement.js	2017-07-07 21:33:26 UTC (rev 219269)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/TreeElement.js	2017-07-07 21:44:18 UTC (rev 219270)
@@ -376,6 +376,10 @@
 
             this.onpopulate();
 
+            // It is necessary to set expanded to true again here because some subclasses will call
+            // collapse in onpopulate (via removeChildren), which sets it back to false.
+            this.expanded = true;
+
             for (var i = 0; i < this.children.length; ++i)
                 this.children[i]._attach();
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to