rem: dump("We are looking for " + specialFolderName + "\n"); dump("special folder name = " + result.Value + "\n"); if(result.Value == specialFolderName) return true; 
add:     var count = specialFolderNames.length; var i; for (i = 0; i < count; i++) { if(result.Value == specialFolderNames[i]) return true; } 
context: function IsSpecialFolder(msgFolder, specialFolderName){	var db = GetFolderDatasource();	var folderResource = msgFolder.QueryInterface(Components.interfaces.nsIRDFResource);	if(folderResource)	{		var property =			RDF.GetResource('http://home.netscape.com/NC-rdf#SpecialFolder');		if (!property) return false;		var result = db.GetTarget(folderResource, property , true);		if (!result) return false;		result = result.QueryInterface(Components.interfaces.nsIRDFLiteral);		if (!result) return false;		dump("We are looking for " + specialFolderName + "\n");		dump("special folder name = " + result.Value + "\n");		if(result.Value == specialFolderName)			return true;	}	return false;}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/25988e7f9decafc7d5fe67271b34f21baac3d5d7/commandglue.js/buggy/mailnews/base/resources/content/commandglue.js