rem: var out0 = new Object(); var trashFolder; var out1 = new Object();  rootFolder.getFoldersWithFlag(0x0100, out0, 1, out1); trashFolder = out0.value; 
add: var out = new Object(); var trashFolder = rootFolder.getFoldersWithFlag(0x0100, 1, out); 
context: function GetSelectTrashUri(folder){    if (!folder) return null;    var uri = folder.getAttribute('id');    dump (uri + "\n");    var resource = RDF.GetResource(uri);    var msgFolder =        resource.QueryInterface(Components.interfaces.nsIMsgFolder);    if (msgFolder)    {        dump("GetSelectTrashUri" + "\n");        var rootFolder = msgFolder.rootFolder;        var numFolder;        var out0 = new Object();        var trashFolder;         var out1 = new Object();                rootFolder.getFoldersWithFlag(0x0100, out0, 1, out1);         trashFolder = out0.value;        numFolder = out1.value;        dump (numFolder + "\n");        if (trashFolder)        {            dump (trashFolder.URI + "\n");            return trashFolder.URI;        }    }    return null;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/079c1294092ac5aff1c267b1297b424690c821c5/commandglue.js/buggy/mailnews/base/resources/content/commandglue.js