Firefox 9 breaks addons.mozilla.org?

Nicholas Miell nmiell at gmail.com
Sun Jan 1 20:58:23 UTC 2012


On 12/26/2011 02:08 AM, Heiko Adams wrote:
> Hi,
> can anyone confirm that addon pages like
> https://addons.mozilla.org/de/firefox/addon/ghostery/?src=hp-dl-featured
> are broken in Firefox 9.0?
> 
> If I open such a page Firefox errorlog has the following entries and
> it's not possible to install an addon:
> 1) Fehler: uncaught exception: [Exception... "Component returned failure
> code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)
> [nsIJSCID.getService]"  nsresult: "0x80570016
> (NS_ERROR_XPC_GS_RETURNED_FAILURE)"  location: "JS frame ::
> resource:///components/OpenWebapps.js :: OpenWebapps :: line 50"  data: no]
> 
> 2) Fehler: z.button is undefined
> Quelldatei:
> https://static-ssl-cdn.addons.mozilla.net/de/firefox/addons/buttons.js?b=01ad944
> Zeile: 13
> 
> 3) Fehler: $(".install").installButton is not a function
> Quelldatei:
> https://static-ssl-cdn.addons.mozilla.net/media/js/impala-min.js?build=01ad944
> Zeile: 1
> 
> The problem still exists if I disable all addons so I think there's a
> problem with firefox.
> 
> I've filed a bug at bugzilla:
> https://bugzilla.redhat.com/show_bug.cgi?id=770301

The upstream bug report suggests this is a bug in xulrunner's packaging
(which is why stock Firefox isn't affected, they don't use a separate
xulrunner).

You can fix it with the following (as root):

cd /usr/lib64/xulrunner-2
cp omni.jar omni.jar.backup
zip -d omni.jar components/OpenWebapps.js
components/OpenWebapps.manifest
jsloader/resource/gre/components/OpenWebapps.js



More information about the devel mailing list