rem: var folderArray = Components.classes["component: var nameArray = Components.classes["component: 
add: var folderArray = Components.classes["@mozilla.org/supports-array;1"].createInstance(Components.interfaces.nsISupportsArray); var nameArray = Components.classes["@mozilla.org/supports-array;1"].createInstance(Components.interfaces.nsISupportsArray); 
context: function NewFolder(name,uri){	//dump("uri,name = " + uri + "," + name + "\n");	if (uri && (uri != "") && name && (name != "")) {		var selectedFolderResource = RDF.GetResource(uri);		//dump("selectedFolder = " + uri + "\n");		var compositeDataSource = GetCompositeDataSource("NewFolder");	    var folderArray = Components.classes["component://netscape/supports-array"].createInstance(Components.interfaces.nsISupportsArray);	    var nameArray = Components.classes["component://netscape/supports-array"].createInstance(Components.interfaces.nsISupportsArray);		folderArray.AppendElement(selectedFolderResource);		var nameLiteral = RDF.GetLiteral(name);		nameArray.AppendElement(nameLiteral);		DoRDFCommand(compositeDataSource, "http://home.netscape.com/NC-rdf#NewFolder", folderArray, nameArray);	}	else {		dump("no name or nothing selected\n");	}}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0257791053c2b38e1dfaf2ee11afae973e82e394/mailCommands.js/buggy/mailnews/base/resources/content/mailCommands.js