rem: var kids = aTreeKids.childNodes; for (var i = 0; i < kids.length; ++i) { aTreeKids.removeChild(kids[i]); 
add: while (aTreeKids.hasChildNodes()) { aTreeKids.removeChild(aTreeKids.lastChild); 
context:   emptyTree: function(aTreeKids)  {    var kids = aTreeKids.childNodes;    for (var i = 0; i < kids.length; ++i) {      aTreeKids.removeChild(kids[i]);    }  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/ec0281cf0479e18da6e7651ac165e91af10c2c5c/jsObjectViewer.js/buggy/extensions/inspector/resources/content/viewers/jsObject/jsObjectViewer.js