rem: if (!itsASaveOperation) {  var prefs = Components.classes[prefContractID].getService(Components.interfaces.nsIPref); if (prefs) prefs.SetBoolPref("mailnews.send.progressDnldDialog.keepAlive", keepProgressWindowUpBox.checked); }  
context: function onUnload() {  if (!itsASaveOperation)  {    // remember the user's decision for the checkbox.    var prefs = Components.classes[prefContractID].getService(Components.interfaces.nsIPref);    if (prefs)      prefs.SetBoolPref("mailnews.send.progressDnldDialog.keepAlive", keepProgressWindowUpBox.checked);  }  if (msgProgress)  {   try    {     msgProgress.unregisterListener(progressListener);     msgProgress = null;   }       catch( exception ) {}  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/404f22fd90a4b657fb3c2d3e43abf7322618f43c/sendProgress.js/buggy/mailnews/compose/resources/content/sendProgress.js