rem: var str = issueSyncRequest( url );  
context:     getServerTimeDiff:    function( bRefresh )    {        var key = this.sessionUri.hostPort;        if ((bRefresh || !g_serverTimeDiffs[key]) &&            this.m_sessionId != null) {            var url = (this.sessionUri.spec +                       // xxx todo: assuming same diff for all calids:                       "gettime.wcap?appid=mozilla-calendar" +                       "&fmt-out=text%2Fcalendar&id=" +                       encodeURIComponent(this.m_sessionId));            var str = issueSyncRequest( url );            // xxx todo: think about            // assure that locally calculated server time is smaller than the            // current (real) server time:            var localTime = getTime();            var icalRootComp = getIcsService().parseICS( str );            if (icalRootComp == null)                throw new Components.Exception("invalid data, expected ical!");            checkWcapIcalErrno( icalRootComp );            var serverTime = getDatetimeFromIcalProp(                icalRootComp.getFirstProperty( "X-NSCP-WCAPTIME" ) );            var diff = serverTime.subtractDate( localTime );            this.log( "server time diff is: " + diff );            g_serverTimeDiffs[key] = diff;        }        return g_serverTimeDiffs[key];    },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/4a668929246f34393eb34240c800d6a7e5d50f46/calWcapSession.js/buggy/calendar/providers/wcap/calWcapSession.js