RESOLVED FIXED 21036
Inspecting a node after reloading the page with the Inspector open does not reveal the node
https://bugs.webkit.org/show_bug.cgi?id=21036
Summary Inspecting a node after reloading the page with the Inspector open does not r...
Timothy Hatcher
Reported 2008-09-23 13:07:41 PDT
Inspecting a node after reloading the page with the Inspector open does not reveal the node. This is happening because the TreeOutline thinks it knows about TreeElemnts that no long exist in the tree for some nodes.
Attachments
Proposed patch (5.96 KB, patch)
2008-09-23 13:48 PDT, Timothy Hatcher
kmccullough: review+
Timothy Hatcher
Comment 1 2008-09-23 13:48:53 PDT
Created attachment 23716 [details] Proposed patch
Kevin McCullough
Comment 2 2008-09-23 14:21:24 PDT
Comment on attachment 23716 [details] Proposed patch - if (child.treeOutline) + if (child.treeOutline) { child.treeOutline._forgetTreeElement(child); + child.treeOutline._forgetChildrenRecursive(child); + } Should we always assume _forgetChildrenRecursive should follow _forgetTreeElement and thus include it in _forgetTree Element?
Timothy Hatcher
Comment 3 2008-09-23 19:14:19 PDT
Landed in r36828.
Note You need to log in before you can comment on or make changes to this bug.