Hi all. Here is a newbie question:

I'm currently playing with Honza's 2nd example of his blog 
(http://www.softwareishard.com/blog/firebug-tutorial/extending-firebug-toolbar-part-ii/)
 
which doesn't work for me. It seems like the browser object passed to 
showPanel method hasn't the chrome property. Doing some debugging...

showPanel: function(browser, panel) {

alert(browser);        // prints [object XULElement]

alert(browser.chrome); // prints undefined

alert(panel);          // prints [object Object]

alert(panel.name);     // prints HelloWorld

return;

var isHwPanel = panel && panel.name == panelName;

var hwButtons = browser.chrome.$("fbHelloWorldButtons"); // browser.chrome 
is undefined

collapse(hwButtons, !isHwPanel);

}

Also, I replace old FirebugContext by the new Firebug.currentContext in XUL 
file.

I'm using Firefox 14.0.1 with Firebug 1.10.2

Any ideas?

Thanks.

-- 
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