rem: } else if (item.QueryInterface(Components.interfaces.calITodo)) { 
add: } else if (item instanceof Components.interfaces.calITodo) { 
context:     getItem: function (aId, aListener) {        if (!aListener)            return;        if (aId == null ||            this.mItems[aId] == null) {            aListener.onOperationComplete(this,                                          Components.results.NS_ERROR_FAILURE,                                          aListener.GET,                                          null,                                          "IID doesn't exist for getItem");            return;        }        var item = this.mItems[aId];        var iid = null;        if (item.QueryInterface(Components.interfaces.calIEvent)) {            iid = Components.interfaces.calIEvent;        } else if (item.QueryInterface(Components.interfaces.calITodo)) {            iid = Components.interfaces.calITodo;        } else {            aListener.onOperationComplete (this,                                           Components.results.NS_ERROR_FAILURE,                                           aListener.GET,                                           aId,                                           "Can't deduce item type based on QI");            return;        }        aListener.onGetResult (this,                               Components.results.NS_OK,                               iid,                               null, 1, [item]);        aListener.onOperationComplete (this,                                       Components.results.NS_OK,                                       aListener.GET,                                       aId,                                       null);    },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/fb7af0311acfca50056349ae2d64ad1c6aa53ae2/calMemoryCalendar.js/buggy/calendar/providers/memory/calMemoryCalendar.js