Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
browser.chrome is undefined at showPanel
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
superruzafa  
View profile  
 More options Aug 7 2012, 3:01 pm
From: superruzafa <superruz...@gmail.com>
Date: Tue, 7 Aug 2012 12:01:06 -0700 (PDT)
Local: Tues, Aug 7 2012 3:01 pm
Subject: browser.chrome is undefined at showPanel

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...)
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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sebastian Zartner  
View profile  
 More options Aug 8 2012, 6:52 am
From: Sebastian Zartner <sebastianzart...@gmail.com>
Date: Wed, 8 Aug 2012 03:52:02 -0700 (PDT)
Local: Wed, Aug 8 2012 6:52 am
Subject: Re: browser.chrome is undefined at showPanel

You may try Firebug.chrome instead of browser.chrome.
See
https://github.com/firebug/firebug/blob/24fd0aee5cc959c7ce5dda0b2b7e5... an example.

Sebastian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
superruzafa  
View profile  
 More options Aug 8 2012, 12:40 pm
From: superruzafa <superruz...@gmail.com>
Date: Wed, 8 Aug 2012 09:40:01 -0700 (PDT)
Local: Wed, Aug 8 2012 12:40 pm
Subject: Re: browser.chrome is undefined at showPanel

That was the point!

Thanks a lot.

El martes, 7 de agosto de 2012 21:01:06 UTC+2, superruzafa escribió:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »