Bug 191454

Summary: Uncaught Exception: undefined is not an object (evaluating 'treeElement.parent.removeChild')
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Joseph Pecoraro <joepeck>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, inspector-bugzilla-changes, joepeck, mattbaker, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed Fix none

Joseph Pecoraro
Reported 2018-11-08 21:00:06 PST
* Steps to Reproduce 1. Inspect a page with workers 2. js> location.href = "http://webkit.org" => Exception * Notes - looks like this code is iterating a Map incorrectly ------- Protocol Event: {"method":"Debugger.globalObjectCleared"} Uncaught Exceptions: - undefined is not an object (evaluating 'treeElement.parent.removeChild') (at ResourceSidebarPanel.js:417:35) _scriptsCleared @ ResourceSidebarPanel.js:417:35 dispatch @ Object.js:170:30 dispatchEventToListeners @ Object.js:177:17 reset @ DebuggerManager.js:602:38 globalObjectCleared @ DebuggerObserver.js:37:33 dispatchEvent @ InspectorBackend.js:328:42 _dispatchEvent @ Connection.js:194:32 dispatch @ Connection.js:72:32 dispatchMessageFromTarget @ TargetManager.js:99:35 dispatchMessageFromTarget @ TargetObserver.js:42:51 dispatchEvent @ InspectorBackend.js:328:42 _dispatchEvent @ Connection.js:194:32 dispatch @ Connection.js:72:32 dispatch @ InspectorBackend.js:172:49 dispatchNextQueuedMessageFromBackend @ MessageDispatcher.js:42:34 Additional Details: cause --> An uncaught exception was thrown while handling event: Debugger.globalObjectCleared -------
Attachments
[PATCH] Proposed Fix (1.55 KB, patch)
2018-11-08 21:00 PST, Joseph Pecoraro
no flags
Joseph Pecoraro
Comment 1 2018-11-08 21:00:48 PST
Created attachment 354309 [details] [PATCH] Proposed Fix
Matt Baker
Comment 2 2018-11-08 21:04:26 PST
Comment on attachment 354309 [details] [PATCH] Proposed Fix r=me
WebKit Commit Bot
Comment 3 2018-11-08 22:07:27 PST
Comment on attachment 354309 [details] [PATCH] Proposed Fix Clearing flags on attachment: 354309 Committed r238017: <https://trac.webkit.org/changeset/238017>
WebKit Commit Bot
Comment 4 2018-11-08 22:07:29 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 5 2018-11-08 22:08:21 PST
Note You need to log in before you can comment on or make changes to this bug.