Closed Bug 361489 Opened 18 years ago Closed 18 years ago

Reference error using the tabbrowser's "addTab" method in XulRunner

Categories

(Toolkit Graveyard :: XULRunner, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 327886

People

(Reporter: nicolas.delaforge, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.1) Gecko/20060601 Firefox/2.0 (Ubuntu-edgy)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.1) Gecko/20060601 Firefox/2.0 (Ubuntu-edgy)

The "addTab" method in the tabbrowser.xml binding includes references to Firefox menu items (menu_closeWindow & menu_close) which are missing.

It also includes a reference to a non declared nsIWebNavigation variable (line 1092).

Reproducible: Always

Actual Results:  
After declaring both of the missing menu items : 
"ReferenceError : nsIWebNavigation is not defined"

Expected Results:  
Open the tab and load the URL...

This bug was corrected in the 1.8 mozilla trunk (http://lxr.mozilla.org/mozilla1.8/source/toolkit/content/widgets/tabbrowser.xml) but not in  XulRunner.

Tested on XulRunner 1.8b4, 1.8b5 and 1.9a1.
tabbrowser is not a 'real' widget and will likely be moved out of toolkit eventually (bug 339964). Anyway, it's the same as bug 327886.

I don't see any problems with nsIWebNavigation in trunk tabbrowser.xml either.

*** This bug has been marked as a duplicate of 327886 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.