Bug 238100

Summary: Web Inspector: Can't create more than 1 event breakpoint of the same event
Product: WebKit Reporter: Jeff Johnson <opendarwin>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: All   
OS: All   

Description Jeff Johnson 2022-03-18 15:23:06 PDT
The web inspector doesn't allow more than 1 event breakpoint to be created of the same event. This is a problem because I have specially configured breakpoints with a condition and an evaluate javascript action, but sometimes I also need a breakpoint just for the event with no condition or action. Disabling the specialized breakpoint doesn't make a different; I have to delete the specialized breakpoint to create another breakpoint of the same event.

Steps to reproduce:
1) Create a breakpoint for an event, such as "play".
2) Add a condition and action to the breakpoint.
3) Disable the breakpoint.
4) Create another breakpoint for the event, such as "play".

Expected results:
A new "play" breakpoint is created.

Actual results:
No new breakpoint is created. I hear the Mac "Boop" sound effect for something not allowed.
Comment 1 Radar WebKit Bug Importer 2022-03-22 08:49:56 PDT
<rdar://problem/90638073>