rem: return msgfolder; 
add: if (msgfolder && (msgfolder.parent || msgfolder.isServer)) return msgfolder; 
context: function GetMsgFolderFromUri(uri){	//dump("GetMsgFolderFromUri of " + uri + "\n");	try {		var resource = GetResourceFromUri(uri);		var msgfolder = resource.QueryInterface(Components.interfaces.nsIMsgFolder);		return msgfolder;	}	catch (ex) {		//dump("failed to get the folder resource\n");	}	return null;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/25f7c83c8fbe93e8e296f7dffcaa28ea7ecdd290/mailCommands.js/buggy/mailnews/base/resources/content/mailCommands.js