[bindings] Show detached DOM nodes in DevTools heap snapshot.
The patch uses Node::isConnected() and Document::IsContextDestroyed() predicates to compute whether a Node is detached or not. This information is then propagated to all ScriptWrappables. DevTools shows detached nodes with the "Detached" prefix. For example, "Detached HTMLDocument" or "Detached Window". Bug: 811925 Change-Id: Ib7987f578cc513b6bdfcfe084c885cbff84a4dba Reviewed-on: https://chromium-review.googlesource.com/961401 Commit-Queue: Ulan Degenbaev <ulan@chromium.org> Reviewed-by:Michael Lippautz <mlippautz@chromium.org> Reviewed-by:
Alexei Filippov <alph@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#543382}
Showing
Please register or sign in to comment