rem: var windowManager = Components.classes['@mozilla.org/rdf/datasource;1?name=window-mediator'].getService(); 
add: var windowManager = Components.classes['@mozilla.org/appshell/window-mediator;1'].getService(); 
context: function CycleWindow( aType ){  var windowManager = Components.classes['@mozilla.org/rdf/datasource;1?name=window-mediator'].getService();  var windowManagerInterface = windowManager.QueryInterface(nsIWindowMediator);  var topWindowOfType = windowManagerInterface.getMostRecentWindow( aType );  var topWindow = windowManagerInterface.getMostRecentWindow( null );  if ( topWindowOfType == null )    return null;  if ( topWindowOfType != topWindow ) {    topWindowOfType.focus();    return topWindowOfType;  }  var enumerator = windowManagerInterface.getEnumerator( aType );  var firstWindow = enumerator.getNext().QueryInterface(nsIDOMWindowInternal);  var iWindow = firstWindow;  while (iWindow != topWindow && enumerator.hasMoreElements())    iWindow = enumerator.getNext().QueryInterface(nsIDOMWindowInternal);  if (enumerator.hasMoreElements()) {    iWindow = enumerator.getNext().QueryInterface(nsIDOMWindowInternal);    iWindow.focus();    return iWindow;  }  if (firstWindow == topWindow) // Only one window    return null;  firstWindow.focus();  return firstWindow;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/58ad7ad612cf759624c52f8d3473225eb3ce4026/tasksOverlay.js/clean/xpfe/communicator/resources/content/tasksOverlay.js