|Summary:||Web Inspector: DOM Debugger: node-specific event breakpoints aren't cleared/recalculated on navigation|
|Product:||WebKit||Reporter:||Devin Rousso <drousso>|
|Component:||Web Inspector||Assignee:||Devin Rousso <drousso>|
|Severity:||Normal||CC:||commit-queue, drousso, inspector-bugzilla-changes, joepeck, webkit-bug-importer|
|Version:||WebKit Nightly Build|
Description Devin Rousso 2019-02-20 15:00:09 PST
# STEPS TO REPRODUCE: 1. inspect any page 2. find a node with an event listener 3. set a breakpoint on that specific event listener via Node sidebar in Elements tab 4. go to the Debugger tab 5. reload/navigate the page => breakpoint for that specific event is still listed in the navigation sidebar
Comment 2 Devin Rousso 2019-02-20 15:11:33 PST
(In reply to Devin Rousso from comment #0) > => breakpoint for that specific event is still listed in the navigation sidebar Interestingly, these "still listed" breakpoints are unable to be removed. DOMManager.js:645:23: CONSOLE ERROR DOMManager.js:651:30: CONSOLE ERROR No event listener for given identifier.
Comment 5 Joseph Pecoraro 2019-02-21 10:19:42 PST
You could probably write a test for this by setting an EventListener Breakpoint, reloading, and ensuring it is gone.
Comment 6 Devin Rousso 2019-02-21 10:29:40 PST
(In reply to Joseph Pecoraro from comment #5) > You could probably write a test for this by setting an EventListener Breakpoint, reloading, and ensuring it is gone. I titled this bug slightly "overzealously". The EventListener Breakpoints were being cleared successfully (e.g. backend state is cleared), but the weren't getting removed from the UI.
Comment 7 WebKit Commit Bot 2019-02-21 10:56:41 PST
Comment on attachment 362554 [details] Patch Clearing flags on attachment: 362554 Committed r241874: <https://trac.webkit.org/changeset/241874>
Comment 8 WebKit Commit Bot 2019-02-21 10:56:43 PST
All reviewed patches have been landed. Closing bug.