rem: var nodes = []; var elements = root.getElementsByTagName(tag); 
add: var nodes = []; 
context:       getElementsBy: function(method, tag, root) {         tag = tag || '*';         root = util.Dom.get(root) || document;         var nodes = [];         var elements = root.getElementsByTagName(tag);         if ( !elements.length && (tag == '*' && root.all) ) {            elements = root.all; // IE < 6         }         for (var i = 0, len = elements.length; i < len; ++i)         {            if ( method(elements[i]) ) { nodes[nodes.length] = elements[i]; }         }         logger.log('getElementsBy returning ' + nodes, 'info', 'Dom');         return nodes;      },
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/dom-debug.js/buggy/www/resources/yui/dom/dom-debug.js