add: } else if (iid.equals(Components.interfaces.nsIProgressEventSink)) { return this; } else if (iid.equals(Components.interfaces.nsIDocShellTreeItem)) { return this; } else if (iid.equals(Components.interfaces.nsIAuthPromptProvider)) { return Components.classes["@mozilla.org/embedcomp/window-watcher;1"] .getService(Components.interfaces.nsIWindowWatcher) .getNewPrompter(null); } else if (!isOnBranch && iid.equals(Components.interfaces.nsIAuthPrompt2)) { return Components.classes["@mozilla.org/embedcomp/window-watcher;1"] .getService(Components.interfaces.nsIWindowWatcher) .getNewPrompter(null); 
context:     getInterface: function(iid) {        if (iid.equals(Components.interfaces.nsIAuthPrompt)) {            // use the window watcher service to get a nsIAuthPrompt impl            return Components.classes["@mozilla.org/embedcomp/window-watcher;1"]                             .getService(Components.interfaces.nsIWindowWatcher)                             .getNewAuthPrompter(null);        }        else if (iid.equals(Components.interfaces.nsIPrompt)) {            // use the window watcher service to get a nsIPrompt impl            return Components.classes["@mozilla.org/embedcomp/window-watcher;1"]                             .getService(Components.interfaces.nsIWindowWatcher)                             .getNewPrompter(null);        }        throw Components.results.NS_ERROR_NO_INTERFACE;    },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/eada499031ce7b5e8e39efdcab109375b541614b/calDavCalendar.js/clean/calendar/providers/caldav/calDavCalendar.js