rem: setTimeout(CancelPublishing,0); 
add: setTimeout(CancelPublishing(), 0); 
context:   promptPassword : function(dlgTitle, text, pwrealm, savePW, pwObj)  {    var ret = false;    try {      var promptServ = GetPromptService();      if (!promptServ)        return false;      // Note difference with nsIPrompt::promptPassword, which has       // "inout" savePassword param, while nsIAuthPrompt is just "in"      // Also nsIAuth doesn't supply "checkBoxLabel"      // Initialize with user's previous preference for this site      var savePWObj = {value:savePW};      // Initialize with user's previous preference for this site      if (gPublishData)        savePWObj.value = gPublishData.savePassword;      ret = promptServ.promptPassword(gProgressDialog ? gProgressDialog : window,                                      dlgTitle, text, pwObj, GetString("SavePassword"), savePWObj);      if (!ret)        setTimeout(CancelPublishing,0);      if (ret && gPublishData)        UpdateUsernamePasswordFromPrompt(gPublishData, gPublishData.username, pwObj.value, savePWObj.value);    } catch(e) {}    return ret;  }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/5da9dc7a13333228f1093d26804d30058d79746c/ComposerCommands.js/buggy/editor/ui/composer/content/ComposerCommands.js