Firebug/WeeklyUpdates/2008-09-02

From MozillaWiki
Jump to: navigation, search

Install extension, go to: chrome://fireunit/content/test/commandline.html

 var state = false;
 
 fireunit.click( "fbStatusBar" );
 fireunit.focus( "fbCommandLine" );
 
 setTimeout(function(){
   // Verify basic command execution
   state = false;
   fireunit.value( "fbCommandLine", "state = true;" );
   fireunit.key( "fbCommandLine", 13 );
   fireunit.ok( state, "Console command executed." );
   
   // Trigger large console
   //fireunit.type( "fbCommandLine", "alert('test');\n" );
 }, 500);


FireUnitRun.png FireUnitResults.png