rem: if (bLogging && LOG_LEVEL > 1) { logMessage( "issueSyncRequest( \"" + url + "\" )", "contentCharset = " + channel.contentCharset + ", contentLength = " + channel.contentLength + ", contentType = " + channel.contentType ); } 
context: function issueSyncRequest( url, receiverFunc, bLogging ){    if (bLogging == undefined)        bLogging = true;    if (bLogging && LOG_LEVEL > 0) {        logMessage( "issueSyncRequest( \"" + url + "\" )",                    "opening channel." );    }    var channel = getIoService().newChannel(        url, "" /* charset */, null /* baseURI */ );    channel.loadFlags |= Components.interfaces.nsIRequest.LOAD_BYPASS_CACHE;    var stream = channel.open();    if (bLogging && LOG_LEVEL > 1) {        logMessage( "issueSyncRequest( \"" + url + "\" )",                    "contentCharset = " + channel.contentCharset +                    ", contentLength = " + channel.contentLength +                    ", contentType = " + channel.contentType );    }    var status = channel.status;    if (status == Components.results.NS_OK) {        var charset = channel.contentCharset;        if (!charset || charset == "")            charset = "UTF-8";        var str = streamToString( stream, charset );        if (bLogging && LOG_LEVEL > 1) {            logMessage( "issueSyncRequest( \"" + url + "\" )",                        "returned: " + str );        }        if (receiverFunc) {            receiverFunc( str );        }        return str;    }    else if (bLogging && LOG_LEVEL > 0) {        logMessage( "issueSyncRequest( \"" + url + "\" )",                    "failed: " + status );    }    throw status;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/91e55737541dcc44b49686710a0aa3138569631e/calWcapRequest.js/buggy/calendar/providers/wcap/calWcapRequest.js