Bug 244349

Summary: Web Inspector: Uncaught Exception: TypeError: undefined is not an object (evaluating 'this._breakpointMap[lineInfo.lineNumber][lineInfo.columnNumber]')
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
URL: https://webkit.org/

Description Devin Rousso 2022-08-25 12:24:46 PDT
Uncaught Exception in Web Inspector.

Steps to Reproduce:
1. create an Assertion Failures breakpoint
2. evaluate `console.assert()`
3. resume execution
4. delete the Assertion Failures breakpoint

Uncaught Exceptions:
-----------------------
 - TypeError: undefined is not an object (evaluating 'this._breakpointMap[lineInfo.lineNumber][lineInfo.columnNumber]') (at SourceCodeTextEditor.js:468:79)
    _removeBreakpointWithEditorLineInfo @ SourceCodeTextEditor.js:468:79
    _breakpointRemoved @ SourceCodeTextEditor.js:710:49
    dispatch @ Object.js:134:35
    dispatchEventToListeners @ Object.js:142:17
    removeBreakpoint @ DebuggerManager.js:798:38
    remove @ JavaScriptBreakpoint.js:214:44
    ondelete @ BreakpointTreeElement.js:72:36
    _treeKeyDown @ TreeOutline.js:608:69
    _treeKeyDown @ [native code]
-----------------------

Notes:
Inspected URL:        https://webkit.org/
Loading completed:    true
Frontend User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko)
Comment 1 Devin Rousso 2022-08-25 12:28:37 PDT
Pull request: https://github.com/WebKit/WebKit/pull/3667
Comment 2 EWS 2022-08-25 13:43:13 PDT
Committed 253792@main (4a0a7c3f052c): <https://commits.webkit.org/253792@main>

Reviewed commits have been landed. Closing PR #3667 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-08-25 13:44:17 PDT
<rdar://problem/99153599>