Bug 158541

Summary: Web Inspector: an error is encountered when trying to delete nodes that have children
Product: WebKit Reporter: Blaze Burg <bburg>
Component: Web InspectorAssignee: Blaze 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

Blaze Burg
Reported 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.
Attachments
The bad code probably responsible (117.48 KB, image/png)
2016-06-08 14:19 PDT, Blaze Burg
no flags
Proposed Fix (1.96 KB, patch)
2016-06-08 14:30 PDT, Blaze Burg
no flags
Radar WebKit Bug Importer
Comment 1 2016-06-08 14:24:44 PDT
Blaze Burg
Comment 2 2016-06-08 14:30:17 PDT
Created attachment 280839 [details] Proposed Fix
WebKit Commit Bot
Comment 3 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>
WebKit Commit Bot
Comment 4 2016-06-08 16:15:46 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.