RESOLVED FIXED 201716
Uncaught Exception: TypeError: null is not an object (evaluating 'selectedTreeElement.representedObject')
https://bugs.webkit.org/show_bug.cgi?id=201716
Summary Uncaught Exception: TypeError: null is not an object (evaluating 'selectedTre...
Joseph Pecoraro
Reported 2019-09-12 00:01:25 PDT
Uncaught Exception: TypeError: null is not an object (evaluating 'selectedTreeElement.representedObject') * STEPS TO REPRODUCE 1. Inspect any page 2. Set a breakpoint by clicking in the gutter 3. Delete the breakpoint by dragging it off the gutter => Exception * NOTES - The Breakpoint Tree Outline doesn't have any selected tree element and the breakpoint is getting removed. ------- Uncaught Exceptions: - TypeError: null is not an object (evaluating 'selectedTreeElement.representedObject') (at SourcesNavigationSidebarPanel.js:1763:36) _handleBreakpointElementAddedOrRemoved @ SourcesNavigationSidebarPanel.js:1763:36 dispatch @ Object.js:165:30 dispatchEventToListeners @ Object.js:172:17 removeChildAtIndex @ TreeOutline.js:392:49 removeChild @ TreeOutline.js:406:32 _removeDebuggerTreeElement @ SourcesNavigationSidebarPanel.js:1209:38 _removeBreakpoint @ SourcesNavigationSidebarPanel.js:1148:40 _handleDebuggerBreakpointRemoved @ SourcesNavigationSidebarPanel.js:1985:31 dispatch @ Object.js:165:30 dispatchEventToListeners @ Object.js:172:17 removeBreakpoint @ DebuggerManager.js:636:38 textEditorBreakpointRemoved @ SourceCodeTextEditor.js:1329:44 _documentMouseUp @ TextEditor.js:1598:63 _documentMouseUp @ [native code] -------
Attachments
[PATCH] Proposed Fix (5.10 KB, patch)
2019-09-12 00:04 PDT, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2019-09-12 00:01:46 PDT
Joseph Pecoraro
Comment 2 2019-09-12 00:04:08 PDT
Created attachment 378627 [details] [PATCH] Proposed Fix
Devin Rousso
Comment 3 2019-09-12 00:06:25 PDT
Comment on attachment 378627 [details] [PATCH] Proposed Fix r=me, good catch!
WebKit Commit Bot
Comment 4 2019-09-12 00:50:24 PDT
Comment on attachment 378627 [details] [PATCH] Proposed Fix Clearing flags on attachment: 378627 Committed r249800: <https://trac.webkit.org/changeset/249800>
WebKit Commit Bot
Comment 5 2019-09-12 00:50:26 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.