rem: child = children.GetNextNode() 
add: child = children.getNextNode() 
context: function traverse(node, indent){    Dump("\n")    indent += "  "    var type = node.GetNodeType()    // if it's an element dump the tag and recurse the children    if (type == Node.ELEMENT) {        Dump(indent + node.GetTagName())        // go through the children        if (node.HasChildNodes()) {            var children = node.GetChildNodes()            var length = children.GetLength()            var child = children.GetNextNode()            var count = 0;            while(count < length) {                traverse(child, indent)                child = children.GetNextNode()                count++            }        }    }    // it's just text, no tag, dump "Text"    else if (type == Node.TEXT) {        Dump(indent + "Text")    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6b20823e473b88ab3c01dc39565c0273856be40a/DumpTree.js/buggy/dom/tests/js/DumpTree.js