Still a bit new to extension development so I' m sure I'm missing
something obvious.  The extension has a listener on the console. Using
JS & FirePHP to log messages.  I can get the data of the JS log
messages(log function in listener), but the remote
message(onConsoleInjected function in listener) are proving elusive.
Not sure if it's FirePHP or Firebug I should be focused on.

It looks for a specific [extName] in the log.  When catching
logFormatted console messages coming from JS it works like a charm
when it sees this:

[extName] [browser] updating tab views for tab: sb2

But I'm also logging message via FirePHP from the server.  These are
showing up as onConsoleInjected with the url as the message and an
array passed in the drop down viewer underneath like:

> http://localhost:8888/mc/index.php?r=item/view&id=40
   [extName]: array('0'=>'[extName]', '1'=>'[server]', '2'=>'Logging
messages from item controller..')

My problem is the displayed array that came with the
FirePHP(onConsoleInjected) log message doesn't appear to exist in the
DOM anywhere that I can find to access.  I need to iterate over the
array for my extension.  When I right click on the array list and
choose 'Inspect In DOM Tab', I can see them.  And the apparent object
I'm viewing is 'window > [2]'.  I've searched all over and can't
figure out where in object tree to grab a reference to to the passed
array. What object might I find this array be under when I only have
context & win for onConsoleInjected?

Thanks for your help.

-- 
You received this message because you are subscribed to the Google
Groups "Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
https://groups.google.com/forum/#!forum/firebug

Reply via email to