Add trace hooks for Window and Document, and remove explicit rooting for the root DOM node. Fixes #901.

This commit is contained in:
Josh Matthews 2013-09-11 12:18:23 -07:00
parent 9640324721
commit 636c30affe
7 changed files with 66 additions and 39 deletions

View file

@ -130,7 +130,7 @@ impl Traceable for Node<ScriptView> {
}
}
}
error!("tracing %p?:", self.wrapper.get_wrapper());
debug!("tracing %p?:", self.wrapper.get_wrapper());
trace_node(tracer, self.parent_node, "parent");
trace_node(tracer, self.first_child, "first child");
trace_node(tracer, self.last_child, "last child");