rem: if (iid.equals(Components.interfaces.nsIAuthPrompt)) {  var ww = Components.classes["@mozilla.org/embedcomp/window-watcher;1"] .getService(Components.interfaces.nsIWindowWatcher); return ww.getNewAuthPrompter(null); 
add: if (iid.equals(Components.interfaces.nsIAuthPrompt)) {  var ww = Components.classes["@mozilla.org/embedcomp/window-watcher;1"] .getService(Components.interfaces.nsIWindowWatcher); return ww.getNewAuthPrompter(null); } Components.returnCode = Components.results.NS_ERROR_NO_INTERFACE; return null; 
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(null);    }    Components.returnCode = Components.results.NS_ERROR_NO_INTERFACE;    return null;  }
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/d1243bef373614cc6e4edd1488595100abcc1c49/publish.js/buggy/calendar/resources/content/publish.js