rem: var protocolinfo = Components.classes["@mozilla.org/messenger/protocol/info;1?type=" + type].getService(Components.interfaces.nsIMsgProtocolInfo); canDuplicate = protocolinfo.canDuplicate; 
add: var protocolinfo = Components.classes["@mozilla.org/messenger/protocol/info;1?type=" + type].getService(Components.interfaces.nsIMsgProtocolInfo); canDuplicate = protocolinfo.canDuplicate; 
context: function onDuplicateAccount() {    //dump("onDuplicateAccount\n");    if (duplicateButton.getAttribute("disabled") == "true") return;    var result = getServerIdAndPageIdFromTree(accounttree);    if (result) {        var canDuplicate = true;        var account = getAccountFromServerId(result.serverId);        if (account) {            var server = account.incomingServer;            var type = server.type;			var protocolinfo = Components.classes["@mozilla.org/messenger/protocol/info;1?type=" + type].getService(Components.interfaces.nsIMsgProtocolInfo);			canDuplicate = protocolinfo.canDuplicate;        }        else {            canDuplicate = false;        }        if (canDuplicate) {			try {              accountManager.duplicateAccount(account);            }			catch (ex) {				var alertText = gPrefsBundle.getString("failedDuplicateAccount");                window.alert(alertText); 			}        }    }}         
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0b2dd2b2d2fd037df917e07645fa019a963332a5/AccountManager.js/buggy/mailnews/base/prefs/resources/content/AccountManager.js