rem: function appendFiltersForContentType(aFilePicker, aContentType, aSaveMode) 
add: function appendFiltersForContentType(aFilePicker, aContentType, aFileExtension, aSaveMode) 
context: function appendFiltersForContentType(aFilePicker, aContentType, aSaveMode){  var bundle = getStringBundle();      switch (aContentType) {  case "text/html":    if (aSaveMode == MODE_COMPLETE)      aFilePicker.appendFilter(bundle.GetStringFromName("WebPageCompleteFilter"), "*.htm; *.html");    aFilePicker.appendFilter(bundle.GetStringFromName("WebPageHTMLOnlyFilter"), "*.htm; *.html");    if (aSaveMode == MODE_COMPLETE)      aFilePicker.appendFilters(Components.interfaces.nsIFilePicker.filterText);    break;  default:    var mimeInfo = getMIMEInfoForType(aContentType);    if (mimeInfo) {      var extEnumerator = mimeInfo.getFileExtensions();      var extString = "";      while (extEnumerator.hasMore()) {        var extension = extEnumerator.getNext();        if (extString)          extString += "; ";    // If adding more than one extension,                                // separate by semi-colon        extString += "*." + extension;      }      if (extString) {        aFilePicker.appendFilter(mimeInfo.Description, extString);      } else {        aFilePicker.appendFilters(Components.interfaces.nsIFilePicker.filterAll);      }            }    else      aFilePicker.appendFilters(Components.interfaces.nsIFilePicker.filterAll);    break;  }} 
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/89aa5f173262c61b693d5d4f123b6344a03e6fdb/contentAreaUtils.js/clean/browser/base/content/contentAreaUtils.js