rem: if (!open) 
add: if (!open) 
context: 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]);      let title = gStr.fileExecutableSecurityWarningTitle;      let dontAsk = gStr.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);  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/1fd624544eae21817eecdd0e0db40421010fa83d/downloads.js/clean/toolkit/mozapps/downloads/content/downloads.js