Bug 158541

Summary: Web Inspector: an error is encountered when trying to delete nodes that have children
Product: WebKit Reporter: Brian Burg <bburg>
Component: Web InspectorAssignee: Brian Burg <bburg>
Severity: Normal CC: bburg, commit-queue, graouts, joepeck, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Description Flags
The bad code probably responsible
Proposed Fix none

Description Brian Burg 2016-06-08 14:19:26 PDT
Created attachment 280836 [details]
The bad code probably responsible

It looks like we mistakenly try to index into a number, as in the screenshot, and we end up trying to create a DOMTreeElement with a null DOMNode. This eventually throws an exception which is dropped on the floor by DOMTreeManager._wrapClientCallback.
Comment 1 Radar WebKit Bug Importer 2016-06-08 14:24:44 PDT
Comment 2 Brian Burg 2016-06-08 14:30:17 PDT
Created attachment 280839 [details]
Proposed Fix
Comment 3 WebKit Commit Bot 2016-06-08 16:15:42 PDT
Comment on attachment 280839 [details]
Proposed Fix

Clearing flags on attachment: 280839

Committed r201843: <http://trac.webkit.org/changeset/201843>
Comment 4 WebKit Commit Bot 2016-06-08 16:15:46 PDT
All reviewed patches have been landed.  Closing bug.