rem: if (node.nodeType != Node.ELEMENT_NODE) return false; 
add: if (node instanceof HTMLInputElement) return (node.type == "text" || node.type == "password") 
context:     isTargetATextBox : function ( node )    {      if (node.nodeType != Node.ELEMENT_NODE)        return false;      if (node.localName.toUpperCase() == "INPUT") {        var attrib = "";        var type = node.getAttribute("type");        if (type)          attrib = type.toUpperCase();        return( (attrib != "IMAGE") &&                (attrib != "CHECKBOX") &&                (attrib != "RADIO") &&                (attrib != "SUBMIT") &&                (attrib != "RESET") &&                (attrib != "HIDDEN") &&                (attrib != "RESET") &&                (attrib != "BUTTON") );      } else  {        return(node.localName.toUpperCase() == "TEXTAREA");      }    },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/fad61e14da34b0ad8b525c4d203645699d852b8e/nsContextMenu.js/buggy/xpfe/communicator/resources/content/nsContextMenu.js