rem:     var generalErrString; if (errItem.value != "") { generalErrString = errItem.value.slice(1, errItem.value.length-1); } else { generalErrString = "Unknown LDAP server problem encountered"; } 
add:     var generalErrString; if (errItem.value != "") generalErrString = errItem.value.slice(1, errItem.value.length-1); else generalErrString = "Unknown LDAP server problem encountered"; 
context: function awRecipientErrorCommand(errItem, element){    // remove the angle brackets from the general error message to construct     // the title for the alert.  someday we'll pass this info using a real    // exception object, and then this code can go away.    //    var generalErrString;    if (errItem.value != "") {	generalErrString = errItem.value.slice(1, errItem.value.length-1);    } else {	generalErrString = "Unknown LDAP server problem encountered";    }	    // try and get the string of the specific error to contruct the complete    // err msg, otherwise fall back to something generic.  This message is    // handed to us as an nsISupportsString in the param slot of the     // autocomplete error item, by agreement documented in     // nsILDAPAutoCompFormatter.idl    //    var specificErrString = "";    try {	var specificError = errItem.param.QueryInterface(	    Components.interfaces.nsISupportsString);	specificErrString = specificError.data;    } catch (ex) {    }    if (specificErrString == "") {	specificErrString = "Internal error";    }    if (gPromptService) {	gPromptService.alert(window, generalErrString, specificErrString);    } else {	window.alert(generalErrString + ": " + specificErrString);    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/8d4385d5ab69683f3e6e336ba9e29aaacc1633a4/addressingWidgetOverlay.js/buggy/mail/components/compose/content/addressingWidgetOverlay.js