rem: if (rec.childData[i].childData) 
add: if ("childData" in rec.childData[i]) 
context: function formatBranch (rec, indent){    for (var i = 0; i < rec.childData.length; ++i)    {        formatRecord (rec.childData[i], indent);        if (rec.childData[i].childData)            formatBranch(rec.childData[i], indent + "  ");    }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/c5a11f1d1aebecf6e8aee7a557cb810702aae1ae/tree.js/buggy/extensions/venkman/resources/content/tests/tree.js