add: var ch; var calendarStringBundle = srGetStrBundle("chrome: 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)) {  promptService.alert(null, calendarStringBundle.GetStringFromName('errorTitle'), calendarStringBundle.formatStringFromName('otherPutError',[request.status.toString(16)],1)); } 
context:   onStopRequest: function(request, ctxt, status, errorMsg)  {    dump("onStopRequest status = " + request.status.toString(16) + " " + errorMsg + "\n");  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d639938d8cbc4b5fb6db20b7f9022612f61c1339/publish.js/clean/calendar/resources/content/publish.js