Open Bug 1538954 Opened 6 years ago Updated 2 years ago

Make GetSystemParentDirectory configurable

Categories

(Firefox :: General, enhancement, P5)

67 Branch
enhancement

Tracking

()

People

(Reporter: glasserc, Unassigned)

Details

This is inspired by https://github.com/NixOS/nixpkgs/issues/47340.

Firefox defines a function called GetSysteMParentDirectory which (among other things) is the location used to find native host messaging manifests. On Linux this is currently hardcoded to either /usr/lib/mozilla or /usr/lib64/mozilla. This causes various problems:

I think we should consider shipping such a patch ourselves. In the short term, this would mitigate issues like bug 1318461 because distributors could write wrappers that set this environment variable. Additionally, this gives NixOS the tools they need to support native messaging hosts without us having to do anything Nix-specific.

Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.