rem: calendarStringBundle.formatStringFromName('otherError',[cloader.request.status.toString(16)],1)); 
add: calendarStringBundle.formatStringFromName('otherError',[loader.request.status.toString(16)],1)); 
context:       onStreamComplete: function(loader, ctxt, status, resultLength, result)      {         window.setCursor( "default" );         var calendarStringBundle = srGetStrBundle("chrome://calendar/locale/calendar.properties");         var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]                                       .getService(Components.interfaces.nsIPromptService);         var retval = false;         if( typeof( result ) != "string" ) //for 1.7 compatibility             result = String.fromCharCode.apply(this, result);         var ch;         try {           ch = loader.request.QueryInterface(Components.interfaces.nsIHttpChannel);         } catch(e) {         }         if (ch && !ch.requestSucceeded) {           promptService.alert(null, calendarStringBundle.GetStringFromName('errorTitle'),                               calendarStringBundle.formatStringFromName('httpError',[ch.responseStatus, ch.responseStatusText],2));         }         else if (!Components.isSuccessCode(loader.request.status)) {           // XXX this should be made human-readable.           promptService.alert(null, calendarStringBundle.GetStringFromName('errorTitle'),                               calendarStringBundle.formatStringFromName('otherError',[cloader.request.status.toString(16)],1));         }         //check to make sure its actually a calendar file, if not return.         else if( result.indexOf( "BEGIN:VCALENDAR" ) == -1 )         {           promptService.alert(null, calendarStringBundle.GetStringFromName('errorTitle'),                               calendarStringBundle.formatStringFromName('contentError',[Channel.URI.spec, result],2));         } else {             onResponse( result );             retval = true;         }         if( gNextSubNodeToRefresh )            gCalendarWindow.calendarManager.refreshAllRemoteCalendars();         return retval;      }
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/5d3ccc2a201c0cdac98bcb92cdd6ff97bb079fbf/calendarManager.js/clean/calendar/resources/content/calendarManager.js