rem: cal.name = name; 
context: function handleCommandLine(aComLine) {    var calurl;    try {        calurl = aComLine.handleFlagWithParam("subscribe", false);    } catch(ex) {}    if (calurl) {        var uri = aComLine.resolveURI(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)));    }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10234/68679a57f72a67058a13c27a85c2d20f5a2e8738/calendar.js/clean/calendar/resources/content/calendar.js