rem: const kWindowMediatorContractID = "@mozilla.org/rdf/datasource;1?name=window-mediator"; 
add: const kWindowMediatorContractID = "@mozilla.org/appshell/window-mediator;1"; 
context: function goPreferences(containerID, paneURL, itemID){  var resizable;  var pref = Components.classes["@mozilla.org/preferences-service;1"]                       .getService(Components.interfaces.nsIPrefBranch);  try {    // We are resizable ONLY if in box debugging mode, because in    // this special debug mode it is often impossible to see the     // content of the debug panel in order to disable debug mode.    resizable = pref.getBoolPref("xul.debug.box");  }  catch (e) {    resizable = false;  }  //check for an existing pref window and focus it; it's not application modal  const kWindowMediatorContractID = "@mozilla.org/rdf/datasource;1?name=window-mediator";  const kWindowMediatorIID = Components.interfaces.nsIWindowMediator;  const kWindowMediator = Components.classes[kWindowMediatorContractID].getService(kWindowMediatorIID);  var lastPrefWindow = kWindowMediator.getMostRecentWindow("mozilla:preferences");  if (lastPrefWindow)    lastPrefWindow.focus();  else {    var resizability = resizable ? "yes" : "no";    var features = "chrome,titlebar,resizable=" + resizability;    openDialog("chrome://communicator/content/pref/pref.xul","PrefWindow",                features, paneURL, containerID, itemID);  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/e072b22821d9678e6d487f5ce5a37dd0516ab392/utilityOverlay.js/clean/suite/common/utilityOverlay.js