rem: var folderTree = GetFolderTree(); var db = folderTree.database; 
add: var db = GetFolderDatasource(); 
context: function IsSpecialFolder(msgFolder, specialFolderName){	var folderTree = GetFolderTree();	var db = folderTree.database;	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: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/7453040ba673a4b175112415ff2092ae2319b6e2/commandglue.js/buggy/mailnews/base/resources/content/commandglue.js