Permalink
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: inline breakpoint widget should have a context menu to…
… edit the breakpoint https://bugs.webkit.org/show_bug.cgi?id=244646 Reviewed by Patrick Angle. Inline breakpoints should also be configurable from the text editor, just like how they have been via right-clicking the breakpoint indicator in the gutter area. * Source/WebInspectorUI/UserInterface/Views/BreakpointInlineWidget.js: (WI.BreakpointInlineWidget): (WI.BreakpointInlineWidget.prototype._update): (WI.BreakpointInlineWidget.prototype._createBreakpoint): Added. (WI.BreakpointInlineWidget.prototype._addBreakpointEventListeners): Added. (WI.BreakpointInlineWidget.prototype._handleClick): (WI.BreakpointInlineWidget.prototype._handleContextmenu): Added. (WI.BreakpointInlineWidget.prototype._handleBreakpointDisabledStateChanged): Added. (WI.BreakpointInlineWidget.prototype._handleBreakpointRemoved): Added. Drive-by: Also handle the developer disabling a breakpoint in the navigation sidebar, which should dim the inline breakpoint without removing it, meaning that the next click would enable it. Canonical link: https://commits.webkit.org/254052@main
- Loading branch information