* 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 -------
Created attachment 354309 [details] [PATCH] Proposed Fix
Comment on attachment 354309 [details] [PATCH] Proposed Fix r=me
Comment on attachment 354309 [details] [PATCH] Proposed Fix Clearing flags on attachment: 354309 Committed r238017: <https://trac.webkit.org/changeset/238017>
All reviewed patches have been landed. Closing bug.
<rdar://problem/45935204>