rem:  else if (ch && !Components.isSuccessCode(request.status)) { 
add: else if (!ch && !Components.isSuccessCode(request.status)) { 
context:   onStopRequest: function(request, ctxt, status, errorMsg)  {    dump("onStopRequest status = " + request.status.toString(16) + " " + errorMsg + "\n");    var ch;    var calendarStringBundle = srGetStrBundle("chrome://calendar/locale/calendar.properties");    var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]                                  .getService(Components.interfaces.nsIPromptService);    try {      ch = request.QueryInterface(Components.interfaces.nsIHttpChannel);      dump(ch.requestSucceeded+"\n");    } catch(e) {    }    if (ch && !ch.requestSucceeded) {      promptService.alert(null, calendarStringBundle.GetStringFromName('errorTitle'),                          calendarStringBundle.formatStringFromName('httpPutError',[ch.responseStatus, ch.responseStatusText],2));    }    else if (ch && !Components.isSuccessCode(request.status)) {      // XXX this should be made human-readable.      promptService.alert(null, calendarStringBundle.GetStringFromName('errorTitle'),                          calendarStringBundle.formatStringFromName('otherPutError',[request.status.toString(16)],1));    }  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c2421c081e2b4fbd844ed16969751d7f8eaff71a/publish.js/clean/calendar/resources/content/publish.js