rem:  var searchTermsArray = Components.classes["@mozilla.org/supports-array;1"].createInstance(Components.interfaces.nsISupportsArray);  
add:  var searchTermsArray = Components.classes["@mozilla.org/supports-array;1"] .createInstance(Components.interfaces.nsISupportsArray); 
context: function ViewNewMail(){  prepareForViewChange();  // create an i supports array to store our search terms   var searchTermsArray = Components.classes["@mozilla.org/supports-array;1"].createInstance(Components.interfaces.nsISupportsArray);  var term = gSearchSession.createTerm();  var value = term.value;  value.status = 1;  value.attrib = nsMsgSearchAttrib.MsgStatus;  term.value = value;  term.attrib = nsMsgSearchAttrib.MsgStatus;  term.op = nsMsgSearchOp.Isnt;  term.booleanAnd = true;  searchTermsArray.AppendElement(term);  AddVirtualFolderTerms(searchTermsArray);  createSearchTermsWithList(searchTermsArray);  // not quite right - these want to be just the view terms...but it might not matter.  gDefaultSearchViewTerms = searchTermsArray;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/5a378409fd0a082647f8daa48716af7c487aa2a7/msgViewPickerOverlay.js/buggy/mailnews/extensions/mailviews/resources/content/msgViewPickerOverlay.js