[Project_owners] Re: Mozilla Firefox vs Mozilla

Neil neil at parkwaycc.co.uk
Tue Jan 11 17:46:56 EST 2005


HJ wrote:

> Hi guys,
>
> Why is this:
>
> in Mozilla Firefox
> alert(gBrowser.browsers);
> displays: [object HTMLCollection]
>
> in Mozilla
> alert(gBrowser.browsers);
> displays: [object NodeList]
>
> And because of this, gBrowser.browsers[0].webNavigation in Mozilla 
> fails if I use something like this:
>
> <property name="browsers" readonly="true" onget="return 
> this.mPanelContainer.getElementsByTagName('browser');"/>

Why would you want to do that? What's wrong with Mozilla's "return 
this.mPanelContainer.childNodes;"?


More information about the Project_owners mailing list