rem: resourceArray = Components.classes["component: 
add: resourceArray = Components.classes["@mozilla.org/supports-array;1"].createInstance(Components.interfaces.nsISupportsArray); 
context: function ConvertMessagesToResourceArray(messages,  resourceArray){	if(!resourceArray)	    resourceArray = Components.classes["component://netscape/supports-array"].createInstance(Components.interfaces.nsISupportsArray);    for (var i=0; i<messages.length; i++) {		var messageResource = messages[i].QueryInterface(Components.interfaces.nsIRDFResource);        resourceArray.AppendElement(messageResource);    }    return resourceArray;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0257791053c2b38e1dfaf2ee11afae973e82e394/mailCommands.js/buggy/mailnews/base/resources/content/mailCommands.js