Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a4b389c50afb504bb42c5081ef7a8ae14f4860ed
      
https://github.com/WebKit/WebKit/commit/a4b389c50afb504bb42c5081ef7a8ae14f4860ed
  Author: Devin Rousso <[email protected]>
  Date:   2025-05-30 (Fri, 30 May 2025)

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

  Log Message:
  -----------
  Web Inspector: Timelines Tab: always show target hierarchical path component 
for JavaScript & Events
https://bugs.webkit.org/show_bug.cgi?id=293782

Reviewed by BJ Burg.

This will help increase awareness of the fact that multiple targets exist and 
avoid confusion when switching between pages with a single target vs multiple 
(i.e. the UI would change).

It also clarifies what target was profiled in the case that only one of 
multiple targets had activity while recording.

* Source/WebInspectorUI/UserInterface/Views/ScriptClusterTimelineView.js:
(WI.ScriptClusterTimelineView):
(WI.ScriptClusterTimelineView.prototype.get selectionPathComponents):
(WI.ScriptClusterTimelineView.prototype._addPathComponentForTarget): Renamed 
from `_createTargetPathComponent`.
(WI.ScriptClusterTimelineView.prototype._sortTargetPathComponents): Drive-by: 
fix sorting logic to use the right objects.
(WI.ScriptClusterTimelineView.prototype._handleTargetAdded):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to