var uri = makeURL(calurl); 
var uri = aComLine.resolveURI(calurl); 
function handleCommandLine(aComLine) {    var calurl;    try {        calurl = aComLine.handleFlagWithParam("subscribe", false);    } catch(ex) {}    if (calurl) {        var uri = makeURL(calurl);        var cal = getCalendarManager().createCalendar('ics', uri);        getCalendarManager().registerCalendar(cal);        // Strip ".ics" from filename for use as calendar name, taken from         // calendarCreation.js        var fullPathRegex = new RegExp("([^/:]+)[.]ics$");        var prettyName = calurl.match(fullPathRegex);        var name;        if (prettyName && prettyName.length >= 1) {            name = decodeURIComponent(prettyName[1]);        } else {            name = calGetString("calendar", "untitledCalendarName");        }        cal.name = name;    }    var date;    try {        date = aComLine.handleFlagWithParam("showdate", false);    } catch(ex) {}    if (date) {        currentView().goToDay(jsDateToDateTime(new Date(date)));    }}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/8a39ba9ca24fe802be15661658d81605b3d1ed20/calendar.js/buggy/calendar/resources/content/calendar.js