rem: core = XPAppCoresManager.Find("toolkitCore"); if ( !core ) { core = new ToolkitCore(); if ( core ) { core.Init("toolkitCore"); } } if ( core ) { core.ShowWindowWithArgs( "chrome: } else { dump("Error; can't create toolkitCore\n"); } 
add: window.openDialog( "chrome: "_blank", "chrome,dialog=no,all", "chrome: 
context: function toNewTextEditorWindow(){	core = XPAppCoresManager.Find("toolkitCore");	if ( !core ) {	    core = new ToolkitCore();	    if ( core ) {	        core.Init("toolkitCore");	    }	}	if ( core ) {	    core.ShowWindowWithArgs( "chrome://editor/content/TextEditorAppShell.xul", null, "chrome://editor/content/EditorInitPagePlain.html" );	} else {	    dump("Error; can't create toolkitCore\n");	}}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/b5c3f7148f28f2eb4d08ba3ff502b47a586fbd75/tasksOverlay.js/buggy/xpfe/global/resources/content/tasksOverlay.js