var username = decodeURIComponent( thatUri.username ); if (username != "") {   this.m_defaultCalId = username; var nColon = username.indexOf(':'); this.m_userId = (nColon >= 0 ? username.substr(0, nColon) : username); } this.m_uri = thatUri.clone(); this.log( "setting uri to " + this.uri.spec ); 
var username = decodeURIComponent(thatUri.username); if (username.length > 0) this.credentials.userId = username; log("set uri: " + this.uri.spec, this); 
    set uri( thatUri )    {        if (this.m_uri == null || thatUri == null ||            !this.m_uri.equals(thatUri))        {            this.logout();            this.m_uri = null;            if (thatUri != null) {                // sensible default for user id login:                var username = decodeURIComponent( thatUri.username );                if (username != "") {                    // xxx todo: might vanish soon...                    // patching the default calId via url:                    this.m_defaultCalId = username;                    var nColon = username.indexOf(':');                    this.m_userId = (nColon >= 0                                     ? username.substr(0, nColon) : username);                }                this.m_uri = thatUri.clone();                this.log( "setting uri to " + this.uri.spec );            }        }    },
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/a8adf4992620da379274cea3395ed3099b6769d6/calWcapSession.js/buggy/calendar/providers/wcap/calWcapSession.js