rem: fp.init(window, "Choose Application...", nsIFilePicker.modeOpen); 
add:   var winTitle = document.getElementById('changeApp').getAttribute('filepickertitle'); fp.init(window, winTitle, nsIFilePicker.modeOpen); 
context: function changeApp(){  const nsIFilePicker = Components.interfaces.nsIFilePicker;  var fp = Components.classes["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker);  fp.init(window, "Choose Application...", nsIFilePicker.modeOpen);    fp.appendFilters(nsIFilePicker.filterApps);  if (fp.show() == nsIFilePicker.returnOK && fp.file) {    var customAppPath = document.getElementById("customAppPath");    customAppPath.value = fp.file.path;        var ioService = Components.classes["@mozilla.org/network/io-service;1"].getService(Components.interfaces.nsIIOService);    var uri = ioService.newFileURI(fp.file);    var url = uri.QueryInterface(Components.interfaces.nsIURL);    customAppPath.setAttribute("prettyName", url.fileName);    var mimeInfo = gHelperApps.getMIMEInfo(gItemRes);    gExtAppRes = gRDF.GetResource("urn:mimetype:externalApplication:" + mimeInfo.MIMEType);            return true;  }    return false;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0c2699b9e9ed87e923544327743c99fd7aec6740/editAction.js/buggy/toolkit/mozapps/downloads/content/editAction.js