Firefox 6 incompatibility

Bug #836635 reported by Matthieu Ambrosy
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Easy Menu
Confirmed
High
Volans

Bug Description

Hi,

under Firefox 6, links from menu dont work anymore, errors from console are :

Error: em_menuCommon is not defined
Source File: chrome://browser/content/browser.xul
Line : 1

Error: em_menuCommon is not defined
Source File: chrome://em_menutop/content/open.js
Line : 66

Regards.

Revision history for this message
Volans (volans) wrote :

Hi Matthieu,

thank you for filing this bug, I will try to fix it in the coming days.

Changed in easymenu:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Volans (volans)
Revision history for this message
vagrale (vagrale) wrote :

Same problem. The error line of file open.js is this one
var openNewWindow = em_ubuntistasmenuCommon.getPrefs().getBoolPref('OpenNewWindow');

Maybe the problem is that Firefox 6.0 and newer versions has changed
https://developer.mozilla.org/en/Firefox/Updating_add-ons_for_Firefox_5#JavaScript_changes

I test with last Firefox 9.0alpha and same problem. The right click works and open the link in other tab.

Revision history for this message
Matthieu Ambrosy (matthieu-ambrosy) wrote :

Yes, in fact the problem is appeared with Firefox 5.0.

Revision history for this message
Matthieu Ambrosy (matthieu-ambrosy) wrote :

Hi,
I think i just solve the bug.

In file : contents.py
Look for "class" text and change it by "menuclass" :
#274 : var menuclass = 'menu-iconic';
#277 279 & 281 : [...]setAttribute('class', menuclass);
#310 : menuclass += ' @@EXTENSION_INTERNAL_NAME@@-l';

It seems work now (test ok with FF 6.0.2).

Revision history for this message
vagrale (vagrale) wrote :

I confirm that works for me. I test it with Firefox 9.0apha and it' s ok.
The only difference is that for me is other lines where change the 'class' with 'menuclass' (268, 271, 273, 275, 303)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.