[Project_owners] Mozilla Firefox vs Mozilla

HJ bugus at universum.org
Mon Jan 10 19:59:12 EST 2005


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');"/>

/HJ


More information about the Project_owners mailing list