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: alert( "EditorCommands.js OpenFile should not be called!" ); 
context: function OpenFile(url){  // This is invoked from the browser app core.  // TODO: REMOVE THIS WHEN WE STOP USING TOOLKIT CORE  core = XPAppCoresManager.Find("toolkitCore");  if ( !core ) {      core = new ToolkitCore();      if ( core ) {          core.Init("toolkitCore");      }  }  if ( core ) {      // TODO: Convert this to use window.open() instead      core.ShowWindowWithArgs( "chrome://editor/content/", window, url );  } else {      dump("Error; can't create toolkitCore\n");  }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/0bcce9f87d3fcd3f1c0cf2223b87fca79e9e2ddf/EditorCommands.js/clean/editor/ui/composer/content/EditorCommands.js