rem: var ww = Components.classes["@mozilla.org/embedcomp/window-watcher;1"] .getService(Components.interfaces.nsIWindowWatcher); 
add: var ww = Components.classes["@mozilla.org/embedcomp/window-watcher;1"]. getService(Components.interfaces.nsIWindowWatcher); 
context:   checkForAddonUpdates: function ()  {    var updateTypes =         Components.classes["@mozilla.org/supports-PRUint8;1"].        createInstance(Components.interfaces.nsISupportsPRUint8);    updateTypes.data = Components.interfaces.nsIUpdateItem.TYPE_ADDON;    var showMismatch =         Components.classes["@mozilla.org/supports-PRBool;1"].        createInstance(Components.interfaces.nsISupportsPRBool);    showMismatch.data = false;    var ary =         Components.classes["@mozilla.org/supports-array;1"].        createInstance(Components.interfaces.nsISupportsArray);    ary.AppendElement(updateTypes);    ary.AppendElement(showMismatch);    var features = "chrome,centerscreen,dialog,titlebar";    const URI_EXTENSION_UPDATE_DIALOG =       "chrome://mozapps/content/extensions/update.xul";    var ww = Components.classes["@mozilla.org/embedcomp/window-watcher;1"]                        .getService(Components.interfaces.nsIWindowWatcher);    ww.openWindow(window, URI_EXTENSION_UPDATE_DIALOG, "", features, ary);    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/5b9489e9046633a4e8287838684d61e69a791c65/advanced.js/buggy/browser/components/preferences/advanced.js