rem: if ( !dontAskAgain && this.target.isExecutable() ) { 
add: if ( !dontAskAgain && this.targetFile.isExecutable() ) { 
context:     onLaunch: function() {         try {           const kDontAskAgainPref  = "browser.download.progressDnlgDialog.dontAskForLaunch";           try {             var pref = Components.classes["@mozilla.org/preferences-service;1"]                              .getService(Components.interfaces.nsIPrefBranch);             var dontAskAgain = pref.getBoolPref(kDontAskAgainPref);           } catch (e) {             // we need to ask if we're unsure             dontAskAgain = false;           }           if ( !dontAskAgain && this.target.isExecutable() ) {             try {               var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]                                               .getService( Components.interfaces.nsIPromptService );             } catch (ex) {               // getService doesn't return null, it throws               return;             }             var title = this.getProperty( "openingAlertTitle",                                           [ this.fileName() ],                                           1 );             var msg = this.getProperty( "securityAlertMsg",                                         [ this.fileName() ],                                         1 );             var dontaskmsg = this.getProperty( "dontAskAgain",                                                [ ], 0 );             var checkbox = {value:0};             var okToProceed = promptService.confirmCheck(this.dialog, title, msg, dontaskmsg, checkbox);             try {               if (checkbox.value != dontAskAgain)                 pref.setBoolPref(kDontAskAgainPref, checkbox.value);             } catch (ex) {}             if ( !okToProceed )               return;           }           this.target.launch();           this.dialog.close();         } catch ( exception ) {             // XXX Need code here to tell user the launch failed!             dump( "nsProgressDialog::onLaunch failed: " + exception + "\n" );         }    },
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/9ae1052a5685c75f98e9e1c5a2535084dbf3fd72/nsProgressDialog.js/clean/embedding/components/ui/progressDlg/nsProgressDialog.js