var title = strings.getString("fileExecutableSecurityWarningTitle"); var dontAsk = strings.getString("fileExecutableSecurityWarningDontAsk"); 
let title = gStr.fileExecutableSecurityWarningTitle; let dontAsk = gStr.fileExecutableSecurityWarningDontAsk; 
function openDownload(aDownload){  var f = getLocalFileFromNativePathOrUrl(aDownload.getAttribute("file"));  if (f.isExecutable()) {    var dontAsk = false;    var pref = Cc["@mozilla.org/preferences-service;1"].               getService(Ci.nsIPrefBranch);    try {      dontAsk = !pref.getBoolPref(PREF_BDM_ALERTONEXEOPEN);    } catch (e) { }    if (!dontAsk) {      var strings = document.getElementById("downloadStrings");      var name = aDownload.getAttribute("target");      var message = strings.getFormattedString("fileExecutableSecurityWarning", [name, name]);      var title = strings.getString("fileExecutableSecurityWarningTitle");      var dontAsk = strings.getString("fileExecutableSecurityWarningDontAsk");      var promptSvc = Cc["@mozilla.org/embedcomp/prompt-service;1"].                      getService(Ci.nsIPromptService);      var checkbox = { value: false };      var open = promptSvc.confirmCheck(window, title, message, dontAsk, checkbox);      if (!open)         return;      pref.setBoolPref(PREF_BDM_ALERTONEXEOPEN, !checkbox.value);    }         }  try {    f.launch();  } catch (ex) {    // if launch fails, try sending it through the system's external    // file: URL handler    openExternal(f);  }}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/041ca1a291b7410c24d4376f2fdce4dac243bd9f/downloads.js/clean/toolkit/mozapps/downloads/content/downloads.js