rem: if (rule.selectorText == selectorForObject(name)) 
add: if (rule.selectorText && (rule.selectorText == selectorForObject(name))) 
context:     function getRuleForObject(name)    {        for (var i = 0; i < calStyleSheet.cssRules.length; i++) {            var rule = calStyleSheet.cssRules[i];            if (rule.selectorText == selectorForObject(name))                return rule;        }        return null;    }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/ee32ce682ecda27d22de69e431b7bb95bac02cf4/calendarManagement.js/buggy/calendar/resources/content/calendarManagement.js