rem: fp.init(window, windowTitle, nsIFilePicker.modeOpen); fp.appendFilter(filterLabel, "*.eml"); 
add: fp.init(window, windowTitle, nsIFilePicker.modeOpen); fp.appendFilter(filterLabel, "*.eml"); 
context: function MsgOpenFromFile(){   var fp = Components.classes["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker);   var strBundleService = Components.classes["@mozilla.org/intl/stringbundle;1"].getService();   strBundleService = strBundleService.QueryInterface(Components.interfaces.nsIStringBundleService);   var extbundle = strBundleService.createBundle("chrome://messenger/locale/messenger.properties");   var filterLabel = extbundle.GetStringFromName("EMLFiles");   var windowTitle = extbundle.GetStringFromName("OpenEMLFiles");   fp.init(window, windowTitle, nsIFilePicker.modeOpen);   fp.appendFilter(filterLabel, "*.eml");   // Default or last filter is "All Files"   fp.appendFilters(nsIFilePicker.filterAll);  try {     var ret = fp.show();     if (ret == nsIFilePicker.returnCancel)       return;   }   catch (ex) {     dump("filePicker.chooseInputFile threw an exception\n");     return;   }   var uri = fp.fileURL;   uri.query = "type=application/x-message-display";  window.openDialog( "chrome://messenger/content/messageWindow.xul", "_blank", "all,chrome,dialog=no,status,toolbar", uri, null, null );}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/b63a5b72361765e9c991347479ce265f17a15db6/mailWindowOverlay.js/buggy/mail/base/content/mailWindowOverlay.js