Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 28b1824e9d54523822ae0f41e848c1da3c0a0b53
      
https://github.com/WebKit/WebKit/commit/28b1824e9d54523822ae0f41e848c1da3c0a0b53
  Author: Razvan Caliman <[email protected]>
  Date:   2026-04-17 (Fri, 17 Apr 2026)

  Changed paths:
    M Source/WebInspectorUI/UserInterface/Views/NavigationSidebarPanel.js

  Log Message:
  -----------
  Web Inspector: Sources: All folder tree elements are expanded after filtering 
for a resource
https://bugs.webkit.org/show_bug.cgi?id=312572
rdar://175009135

Reviewed by Brandon Stewart and Devin Rousso.

When filtering for a resource in the Sources tab, the folder structure
where a match is found expands to reveal it.

Removing the filter should collapse back the folder structure.

An outdated flag was used to determine the collapsed state
during filtering resulting in all folders being left expanded.

* Source/WebInspectorUI/UserInterface/Views/NavigationSidebarPanel.js:
(WI.NavigationSidebarPanel.prototype.applyFiltersToTreeElement.makeVisible):
(WI.NavigationSidebarPanel.prototype.applyFiltersToTreeElement):

Canonical link: https://commits.webkit.org/311459@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to