The NodeImpl leak counter can give false positives sometimes if the GC after destroying the last ScriptInterpreter doesn't collect everything due to stack references. Thus, in debug mode, it would be good to do a GC from Page's destructor after destroying the last frame, so we're at a point on the stack where there wont be JS object references.
Created attachment 6033 [details] GC after destroying the very last Frame, from higher up on the stack
Comment on attachment 6033 [details] GC after destroying the very last Frame, from higher up on the stack r=me I'm a little worried that we'll be finessing the garbage collector to avoid false leak reports in a lot more places. RenderObject comes to mind.