Closed Bug 1331488 Opened 8 years ago Closed 8 years ago

Firefox is not searching for app manifests from /usr/share/mozilla/native-messaging-hosts

Categories

(WebExtensions :: Untriaged, defect)

52 Branch
x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1318461

People

(Reporter: sander.lepik, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0
Build ID: 20170109165508

Steps to reproduce:

I tried to run a native application [1] with Firefox Developer Edition (64-bit version).
I used documentation from MDN [2] to install the app manifest into /usr/share/mozilla/native-messaging-hosts.

[1] https://github.com/open-eid/chrome-token-signing
[2] https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Native_messaging#Linux


Actual results:

When I start the browser I can see this in the Browser Console:

This extension does not have permission to use native application ee.ria.esteid (or the application is not installed)

It works when I run this command:
ln -s /usr/share/mozilla/native-messaging-hosts /usr/lib/mozilla/


Expected results:

It should also work from /usr/share/mozilla/native-messaging-hosts as documented.
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Component: Untriaged → WebExtensions: Untriaged
Product: Firefox → Toolkit
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.