rem: uri = 'moz-profile-calendar: 
add: uri = 'moz-profile-calendar: 
context: function doCreateCalendar(){    var cal_name = document.getElementById("calendar-name").value;    var cal_color = document.getElementById('calendar-color').color;    var type = document.getElementById('calendar-type').selectedItem.value;    var provider;    var uri;    if (type == 'local') {        provider = 'storage';        uri = 'moz-profile-calendar://';    } else {        uri = document.getElementById("calendar-uri").value;        var format = document.getElementById('calendar-format').selectedItem.value;        if (format == 'webdav')            provider = 'ics';        else            provider = 'caldav';    }            dump(cal_name + "\n");    dump(cal_color + "\n");    dump(uri + "\n");    dump(provider + "\n");    var calManager = getCalendarManager();    try {        var newCalendar = calManager.createCalendar(provider, makeURL(uri));    } catch (ex) {        dump(ex);        return false;    }    calManager.registerCalendar(newCalendar);        newCalendar.name = cal_name;    calManager.setCalendarPref(newCalendar, 'color', cal_color);    return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a08a20b609228a8e468d83a69ecbb8e05e6ae5f6/calendarCreation.js/clean/calendar/resources/content/calendarCreation.js