add:  editorAppCore.loadUrl("resource:/res/mailnews/compose/msgcomposeBody.html"); 
context: function ComposeStartup(){	dump("Compose: StartUp\n");	var sessionID;	var appCoreName;	// Get arguments	var args = GetArgs();	// Generate a unique number, do we have a better way?	var date = new Date();	sessionID = date.getTime() + Math.random();	appCoreName = "EditorAppCore:" + sessionID;	editorAppCore = XPAppCoresManager.Find(appCoreName);		dump("Looking up EditorAppCore...\n");	if (! editorAppCore)	{		dump("Creating EditorAppCore...\n");		editorAppCore = new EditorAppCore();		if (editorAppCore)		{			editorAppCore.Init(appCoreName);			dump("editor app core (" + sessionID + ") correctly added to app cores manager\n");		}	}	else		dump("Editor Appcore has been already created, something wrong here!!!");	if (editorAppCore)	{		dump("initalizing the editor app core\n");		editorName = appCoreName; //Very important to set this variable used by Editor js		// setEditorType MUST be call before setContentWindow		if (args.editorType && args.editorType.toLowerCase() == "html")		{			editorAppCore.setEditorType("html");			dump("editor initialized in HTML mode\n");		}		else		{			editorAppCore.setEditorType("text");			dump("editor initialized in PLAIN TEXT mode\n");		}		editorAppCore.setContentWindow(window.frames[0]);		editorAppCore.setWebShellWindow(window);		editorAppCore.setToolbarWindow(window);	}	if (args.name)	{		appCoreName = args.name;		dump("Compose: get composeAppCore=" + args.name + "\n");	}	else		appCoreName = "ComposeAppCore:" + sessionID;	composeAppCore = XPAppCoresManager.Find(appCoreName);	if (! composeAppCore)	{		dump("creating ComposeAppCore...\n");		composeAppCore = new ComposeAppCore();		if (composeAppCore)		{			composeAppCore.Init(appCoreName);			dump("compose app core (" + sessionID + ") correctly added to app cores manager\n");		}	}	if(composeAppCore)	{		dump("initalizing the compose app core\n");		composeAppCore.SetWindow(window);		composeAppCore.SetEditor(editorAppCore);		composeAppCore.CompleteCallback("MessageSent();");	}}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/f32cd4fa40bf760926ce5f2967f099942124a1e5/MsgComposeCommands.js/buggy/mailnews/ui/compose/resources/MsgComposeCommands.js