Bug 217630

Summary: Uncaught Exception: Breakpoint for given eventListenerId missing
Product: WebKit Reporter: Nikita Vasilyev <nvasilyev>
Component: Web InspectorAssignee: Nikita Vasilyev <nvasilyev>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: GoodFirstBug, InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Description Nikita Vasilyev 2020-10-12 13:51:05 PDT
Uncaught Exception in Web Inspector.

Steps to Reproduce:
1. Set a global "click" breakpoint
2. Open Sources tab and click on the break point to select it
3. Press Delete to remove it

Uncaught Exceptions:
-----------------------
 - Breakpoint for given eventListenerId missing (at Connection.js:162:29)
    _dispatchResponseToPromise @ Connection.js:162:29
    _dispatchResponse @ Connection.js:124:44
    dispatch @ Connection.js:77:35
    dispatchMessageFromTarget @ TargetManager.js:176:39
    dispatchMessageFromTarget @ TargetObserver.js:47:51
    _dispatchEvent @ Connection.js:210:26
    dispatch @ Connection.js:79:32
    dispatch @ InspectorBackend.js:232:52
    ? @ MessageDispatcher.js:42:34
-----------------------

Notes:
Inspected URL:        react-like-button-demo/index.html
Loading completed:    true
Frontend User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko)
Comment 1 Radar WebKit Bug Importer 2020-10-12 13:51:15 PDT
<rdar://problem/70222060>
Comment 2 Nikita Vasilyev 2020-10-20 23:52:53 PDT
I can no longer reproduce the bug for the steps above, but these still work:

STEPS:
1. Inspect <body> on this page
2. Select Node panel
3. Expand Event Listeners section, expand "click" subsection
4. Click on "Breakpoint"
5. Open Sources
6. Click on the "click" breakpoint
7. Press Delete
Comment 3 Nikita Vasilyev 2020-10-21 18:54:56 PDT
I can no longer reproduce this on October 21 WebKit build (r268821). I'll reopen this bug if I reproduce this again.