rem: var ww = Components.classes["@mozilla.org/embedcomp/window-watcher;1"] .getService(Components.interfaces.nsIWindowWatcher); return ww.getNewPrompter(window); 
add: return Components.classes["@mozilla.org/embedcomp/window-watcher;1"] .getService(Components.interfaces.nsIWindowWatcher) .getNewPrompter(window); 
context:      getInterface: function(iid, instance) {       if (iid.equals(Components.interfaces.nsIAuthPrompt)) {         // use the window watcher service to get a nsIAuthPrompt impl         var ww = Components.classes["@mozilla.org/embedcomp/window-watcher;1"]                            .getService(Components.interfaces.nsIWindowWatcher);         return ww.getNewAuthPrompter(window);       }       else if (iid.equals(Components.interfaces.nsIPrompt)) {         // use the window watcher service to get a nsIPrompt impl         var ww = Components.classes["@mozilla.org/embedcomp/window-watcher;1"]                            .getService(Components.interfaces.nsIWindowWatcher);         return ww.getNewPrompter(window);       }       Components.returnCode = Components.results.NS_ERROR_NO_INTERFACE;       return null;     }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/33924c8696ceb91956cda6cd7cbf6c5c2c351890/calendarManager.js/clean/calendar/resources/content/calendarManager.js