andrewn/firephp-chrome

Undefined tab.id errors

pjfontillas opened this issue · 4 comments

I grabbed the latest source and tried both installing the extension as packed and unpacked; no logging appears in the console. Instead I keep seeing the error "Undefined tab.id".

Anybody else seeing this?

Hi,

The implementation I was using before was a bit of a hack and didn't work very well. I've changed it to use the chrome.*.devtools APIs that're now available. This allows proper reading of the headers associated with a response.

Can you do an update and let me know if it fixes the issue? You'll need to have the Web Inspector panel open when the page loads to capture the logging output.

Updated source via GitHub and then packed and installed.

Ran tests from http://reference.developercompanion.com/Tools/FirePHPCompanion/Run/Examples/.

AllVariablesTypes shows output to the console, so it looks like it's working now. I'm looking forward to seeing even more improvements in this project!

Thanks!

Argh, I'm not sure what happened but after trying other tests this showed when I went to "Inspect Active Views" from the Extensions page:

183Error in event handler for 'undefined': Error: Parameter 1 is required

After this no tests would output to the console even after disabling and re-enabling the extensions and running tests again. I'll be able to test more with pages I actually control tomorrow... so close!

I can't replicate this issue. If you're still having problems with the latest version, can you reopen please!