rem: var windowManager = Components.classes['@mozilla.org/appshell/window-mediator;1'].getService(); var	windowManagerInterface = windowManager.QueryInterface(nsIWindowMediator); 
add: var windowManagerDS = Components.classes['@mozilla.org/rdf/datasource;1?name=window-mediator'].getService(nsIWindowDataSource); 
context: function ShowWindowFromResource( node ){	var windowManager = Components.classes['@mozilla.org/appshell/window-mediator;1'].getService();	var	windowManagerInterface = windowManager.QueryInterface(nsIWindowMediator);        var desiredWindow = null;    var url = node.getAttribute('id');	desiredWindow = windowManagerInterface.getWindowForResource( url );	if ( desiredWindow )	{		desiredWindow.focus();	}}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/0608c0e77469a8ab9b0c1c58cafa36b7f7e73b52/tasksOverlay.js/buggy/suite/common/tasksOverlay.js