On Friday, July 12, 2013 3:40:24 PM UTC+2, Ebrahim wrote: > > Thanks Honza for your reply. > > I am not sure I am right, but I use the following code to set value in the > editor. > ----------------------------------------------------------------------- > > context.commandLineText = "MY_SCRIPT_COMES_HERE"; > > ----------------------------------------------------------------------- > I don't think this would work correctly .
Take yet a look at our automated test framework here: typeCommand: https://github.com/firebug/firebug/blob/master/tests/FBTest/content/FBTestFirebug.js#L1313 > My another question is that how can I trigger the "Run" button from my > extension? > > Again you can see our test harness here, executeCommand: https://github.com/firebug/firebug/blob/master/tests/FBTest/content/FBTestFirebug.js#L1276 Honza -- You received this message because you are subscribed to the Google Groups "Firebug" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/firebug. To view this discussion on the web visit https://groups.google.com/d/msgid/firebug/49eba5fe-46d4-4880-8156-fb779850f3c1%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
