GNOME Bugzilla – Bug 705051
extensions.gnome.org does not show "On/Off"
Last modified: 2017-01-30 03:05:54 UTC
Cannot install any extensions via Firefox. Gnome Shell Integration plugin is enabled. Javascript error stops page from loading comments: Timestamp: 07/28/2013 05:50:29 PM Error: Error: Error calling method on NPObject! Source File: https://extensions.gnome.org/static/js/versions/common/common.js Line: 24
I seem to be encountering this. Using a freshly installed Fedora 23 installation with whatever GNOME version, and Firefox it came with (as of the ISO downloaded from fedora.org on 1-22-2016) I was able to install some extensions, and it worked as expected. I did a traditional 'update' to all of the packages installed, ending up with Gnome Version 3.18.2 and Firefox 43.0.3, and I have the exact same problem listed in this bug, with the same javascript error in the console. Click to Play is turned off. I attempted using an unused Fedora user account/gnome profile which was created before the 'update' of packages that had never been used with the same results: Comments do not load, and no 'on/off' button appears, there is also no list of installed plugins on the 'INSTALLED' link page. There is references to giving info from 'Looking Glass' to assist in troubleshooting, as far as I can tell it offers me nothing of use, there is no 'Errors' tab, and the 'Extensions' tab simply lists the currently installed extensions with no apparent error or debugging information. This is what the systemd log is showing (the equivalent of ~/.xession-errors) the errors generated by doing the following (in this order): visiting the main extensions.gnome.org page, clicking on the first extension listed on that page, and then clicking on the 'installed extensions' link at the top of the page: Jan 22 11:44:17 black.localhost dbus[2196]: avc: denied { send_msg } for msgtype=method_call interface=org.freedesktop.DBus.Properties member=GetAll dest=:1.15 spid=4411 tpid=2366 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=dbus Jan 22 11:44:17 black.localhost firefox.desktop[3900]: (plugin-container:4411): GnomeShellBrowserPlugin-WARNING **: Failed to grab shell version. Jan 22 11:44:25 black.localhost dbus[2196]: avc: denied { send_msg } for msgtype=method_call interface=org.freedesktop.DBus.Properties member=GetAll dest=:1.15 spid=4411 tpid=2366 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=dbus Jan 22 11:44:25 black.localhost firefox.desktop[3900]: (plugin-container:4411): GnomeShellBrowserPlugin-WARNING **: Failed to grab shell version. Jan 22 11:44:25 black.localhost dbus[2196]: avc: denied { send_msg } for msgtype=method_call interface=org.gnome.Shell.Extensions member=GetExtensionInfo dest=:1.15 spid=4411 tpid=2366 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=dbus Jan 22 11:44:25 black.localhost firefox.desktop[3900]: (plugin-container:4411): GnomeShellBrowserPlugin-WARNING **: Failed to retrieve extension metadata: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An SELinux policy prevents this sender from sending this message to this recipient, 0 matched rules; type="method_call", sender=":1.95" (uid=1000 pid=4411 comm="/usr/lib64/firefox/plugin-container /usr/lib64/moz") interface="org.gnome.Shell.Extensions" member="GetExtensionInfo" error name="(unset)" requested_reply="0" destination=":1.15" (uid=1000 pid=2366 comm="/usr/bin/gnome-shell ") Jan 22 11:44:32 black.localhost dbus[2196]: avc: denied { send_msg } for msgtype=method_call interface=org.freedesktop.DBus.Properties member=GetAll dest=:1.15 spid=4411 tpid=2366 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=dbus Jan 22 11:44:33 black.depressing.org firefox.desktop[3900]: (plugin-container:4411): GnomeShellBrowserPlugin-WARNING **: Failed to grab shell version. Jan 22 11:44:33 black.depressing.org dbus[2196]: avc: denied { send_msg } for msgtype=method_call interface=org.gnome.Shell.Extensions member=ListExtensions dest=:1.15 spid=4411 tpid=2366 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=dbus Jan 22 11:44:33 black.depressing.org firefox.desktop[3900]: (plugin-container:4411): GnomeShellBrowserPlugin-WARNING **: Failed to retrieve extension list: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An SELinux policy prevents this sender from sending this message to this recipient, 0 matched rules; type="method_call", sender=":1.95" (uid=1000 pid=4411 comm="/usr/lib64/firefox/plugin-container /usr/lib64/moz") interface="org.gnome.Shell.Extensions" member="ListExtensions" error name="(unset)" requested_reply="0" destination=":1.15" (uid=1000 pid=2366 comm="/usr/bin/gnome-shell ") I do not know if this is a Fedora issue, or a GNOME issue, ..as the bug here seemed to show the same behavior, I am posting here. Sorry that if may be difficult to replicate.
Looks like setting SELinux to 'Permissive' Enforcing Mode allows it to work as expected. Setting the mode to 'Enforcing' is what seems to break it.
Is it still issue? Please note, that NPAPI is deprecated by Mozilla [1], so try to migrate to chrome-gnome-shell [2]. As for selinux issues - please report to your distro's GNOME maintainer. [1] https://blogs.gnome.org/ne0sight/2016/12/25/how-to-install-gnome-shell-extensions-with-firefox-52/ [2] https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome/Installation
I simple stopped using Gnome Shell and Ubuntu. I use Mint now. Not problems.