add:  window.XULBrowserWindow = window.MsgStatusFeedback;  
context: function CreateMailWindowGlobals(){	// get the messenger instance	messenger = Components.classes[messengerContractID].createInstance();	messenger = messenger.QueryInterface(Components.interfaces.nsIMessenger);	pref = Components.classes[prefContractID].getService(Components.interfaces.nsIPref);	//Create windows status feedback  // set the JS implementation of status feedback before creating the c++ one..  window.MsgStatusFeedback = new nsMsgStatusFeedback();	statusFeedback           = Components.classes[statusFeedbackContractID].createInstance();	statusFeedback = statusFeedback.QueryInterface(Components.interfaces.nsIMsgStatusFeedback);	window.MsgWindowCommands = new nsMsgWindowCommands();	//Create message view object	messageView = Components.classes[messageViewContractID].createInstance();	messageView = messageView.QueryInterface(Components.interfaces.nsIMessageView);	//Create message window object	msgWindow = Components.classes[msgWindowContractID].createInstance();	msgWindow = msgWindow.QueryInterface(Components.interfaces.nsIMsgWindow);	msgComposeService = Components.classes['@mozilla.org/messengercompose;1'].getService();	msgComposeService = msgComposeService.QueryInterface(Components.interfaces.nsIMsgComposeService);	mailSession = Components.classes["@mozilla.org/messenger/services/session;1"].getService(Components.interfaces.nsIMsgMailSession); 	accountManager = Components.classes["@mozilla.org/messenger/account-manager;1"].getService(Components.interfaces.nsIMsgAccountManager);	RDF = Components.classes['@mozilla.org/rdf/rdf-service;1'].getService();	RDF = RDF.QueryInterface(Components.interfaces.nsIRDFService);	msgComposeType = Components.interfaces.nsIMsgCompType;	msgComposeFormat = Components.interfaces.nsIMsgCompFormat;	Bundle = srGetStrBundle("chrome://messenger/locale/messenger.properties");  BrandBundle = srGetStrBundle("chrome://global/locale/brand.properties");	//Create datasources	accountManagerDataSource = Components.classes[accountManagerDSContractID].createInstance();	folderDataSource         = Components.classes[folderDSContractID].createInstance();	messageDataSource        = Components.classes[messageDSContractID].createInstance();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/3fd9c650cdb11c05cb9c98a1f6a281b334547b53/mailWindow.js/buggy/mailnews/base/resources/content/mailWindow.js