DevTools: fix internal error on updating unwired element tree
The main ElementsTreeOutline in ElementsPanel is wired to DOMModel updates, but ETOutlines in Console / elsewhere are not. In the unwired case, nodes in the tree may have null `children()`. This can result in internal errors. Bug: 896445 Change-Id: Ie903fdddb76b31a5460ce2dd4b753be7ba7eeb56 Reviewed-on: https://chromium-review.googlesource.com/c/1286860Reviewed-by:Dmitry Gozman <dgozman@chromium.org> Commit-Queue: Erik Luo <luoe@chromium.org> Cr-Commit-Position: refs/heads/master@{#607419}
Showing
Please register or sign in to comment