Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Web Inspector: Elements Tab: don't show the Target in the Event badge…
… popover https://bugs.webkit.org/show_bug.cgi?id=244645 Reviewed by Patrick Angle. The Event badge popover only shows event listeners attached directly on the related DOM node, so there's no reason to show the Target as it'll always be that same DOM node. * Source/WebInspectorUI/UserInterface/Views/DOMTreeElement.js: (WI.DOMTreeElement.prototype.async _handleEventBadgeClicked): Explicitly `hideTarget: true`. * Source/WebInspectorUI/UserInterface/Views/EventListenerSectionGroup.js: (WI.EventListenerSectionGroup.groupIntoSectionsByEvent): (WI.EventListenerSectionGroup.groupIntoSectionsByTarget): Allow `options = {}` to be given to the `static` helper methods, which pipe to the `WI.EventListenerSectionGroup`. Canonical link: https://commits.webkit.org/254018@main
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters