Bug 158541

Summary: Web Inspector: an error is encountered when trying to delete nodes that have children
Product: WebKit Reporter: BJ Burg <bburg>
Component: Web InspectorAssignee: BJ Burg <bburg>
Status: RESOLVED FIXED    
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   
Attachments:
Description Flags
The bad code probably responsible
none
Proposed Fix none

Description BJ 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
<rdar://problem/26705901>
Comment 2 BJ 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.