Native host connector is not detected but is installed -> extension not happy with firefox
Have firefox and chrome-gnome-shell installed but I keep getting the message about the Native host connector not being detected
I've tested switching to chrome which works just fine and I guess that eliminates gnome-extra/chrome-gnome-shell and dbus as the source of my issue. Testing with a pristine profile in firefox and installed the latest GNOME Shell integration, still exhibits the same problem so it's not an issue with my profile being old and crufty. There appears to be something not quite right between firefox and the GNOME Shell integration extension that prevents it from working as expected on my system.
Any suggestions on how to dig further? I'm not familiar enough with extensions to know what JS the console error is firing on
Versions installed
$ equery l www-client/firefox
* Searching for firefox in www-client ...
[IP-] [ ] www-client/firefox-76.0.1:0
$ equery l gnome-extra/chrome-gnome-shell
* Searching for chrome-gnome-shell in gnome-extra ...
[IP-] [ ] gnome-extra/chrome-gnome-shell-10-r4:0
When I disable/enable the extension I see the following appear via journalctl for my user:
Jun 28 13:38:05 speedie firefox.desktop[15055]: 1593347885212 addons.webextension.chrome-gnome-shell@gnome.org WARN Loading extension 'chrome-gnome-shell@gnome.org': Reading manifest: Warning processing background.persistent: Event pages are not currently supported. This will run as a persistent background page.
Jun 28 13:38:05 speedie firefox.desktop[15055]: 1593347885219 addons.webextension.chrome-gnome-shell@gnome.org WARN Loading extension 'chrome-gnome-shell@gnome.org': Reading manifest: Warning processing externally_connectable: An unexpected property was found in the WebExtension manifest.
Jun 28 13:38:05 speedie firefox.desktop[15055]: console.error:
Jun 28 13:38:05 speedie firefox.desktop[15055]: NotSupportedError: ClonedErrorHolder constructor: We can only clone DOM Exceptions and native JS Error objects: onConnect/<@resource://gre/modules/NativeMessaging.jsm:130:48
Jun 28 13:38:05 speedie firefox.desktop[15055]: handler@resource://gre/modules/EventEmitter.jsm:97:19
Jun 28 13:38:05 speedie firefox.desktop[15055]: emit@resource://gre/modules/EventEmitter.jsm:160:20
Jun 28 13:38:05 speedie firefox.desktop[15055]: _cleanup@resource://gre/modules/NativeMessaging.jsm:281:12
Jun 28 13:38:05 speedie firefox.desktop[15055]: NativeApp/this.startupPromise<@resource://gre/modules/NativeMessaging.jsm:114:14
Jun 28 13:38:05 speedie firefox.desktop[15408]: JavaScript error: , line 0: uncaught exception: Object
Jun 28 13:38:05 speedie firefox.desktop[15408]: JavaScript error: , line 0: uncaught exception: Object
a little while afterwards I see the following messages appear
Jun 28 13:38:29 speedie firefox.desktop[15408]: JavaScript error: moz-extension://8ec8be84-916d-43a7-8a4d-96e942762275/background/receiveFormData.js, line 848: Error: Could not establish connection. Receiving end does not exist.
Jun 28 13:38:44 speedie firefox.desktop[15408]: JavaScript error: moz-extension://8ec8be84-916d-43a7-8a4d-96e942762275/background/receiveFormData.js, line 790: Error: Could not establish connection. Receiving end does not exist.
Jun 28 13:38:49 speedie firefox.desktop[15408]: JavaScript error: moz-extension://8ec8be84-916d-43a7-8a4d-96e942762275/background/receiveFormData.js, line 790: Error: Could not establish connection. Receiving end does not exist.
Jun 28 13:38:54 speedie firefox.desktop[15408]: JavaScript error: moz-extension://8ec8be84-916d-43a7-8a4d-96e942762275/background/receiveFormData.js, line 790: Error: Could not establish connection. Receiving end does not exist.
...
I'm guessing a background thread trying to connect to the native host connector, but I'd suspect the problem is a side effect of the error output above?