rem: for (i = 0; i < node.attributes.length; i++) { var att = node.attributes[i]; if (att.name == 'name' || att.name == 'value' || att.name == 'id' || att.name == 'style' || att.name == 'action' || att.name == 'onclick' || att.name == 'href') { conditions['@' + att.name] = att.value; 
add: if (node.attributes) { for (i = 0; i < node.attributes.length; i++) { var att = node.attributes[i]; if (att.name == 'name' || att.name == 'value' || att.name == 'id' || att.name == 'style' || att.name == 'action' || att.name == 'onclick' || att.name == 'href') { conditions['@' + att.name] = att.value; } 
context: 	function elementXPath(node, conditions) {		var i;		for (i = 0; i < node.attributes.length; i++) {			var att = node.attributes[i];			if (att.name == 'name' || att.name == 'value' ||				att.name == 'id' || att.name == 'style' ||				att.name == 'action' || att.name == 'onclick' ||				att.name == 'href') {				conditions['@' + att.name] = att.value;			}		}		return node.nodeName.toLowerCase() + encodeConditions(conditions);	}
meta: 3428	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3428/987072c9677dabfd007fab08d4c76099ebb26d9e/recorder-events.js/buggy/content/recorder-events.js