rem: var windowManager = Components.classes['component: 
add: var windowManager = Components.classes['@mozilla.org/rdf/datasource;1?name=window-mediator'].getService(); 
context: function LastToClose(){	var windowManager = Components.classes['component://netscape/rdf/datasource?name=window-mediator'].getService();	var	windowManagerInterface = windowManager.QueryInterface( Components.interfaces.nsIWindowMediator);	var enumerator = windowManagerInterface.getEnumerator( null );    var count = 0;	while ( enumerator.hasMoreElements() && count < 2 )	{		var  windowToClose = enumerator.getNext();        count++;    }    if (count == 1)        return true;    else        return false;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/0257791053c2b38e1dfaf2ee11afae973e82e394/widgetglue.js/buggy/mailnews/base/resources/content/widgetglue.js