User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0
Steps to reproduce:
I've been trying to create an Enterprise Policy via policies.json that will install extensions from AMO, however, it only works the first time the browser is launched from a fresh profile.
- Place this "policies.json" in the distributions/ directory of the Firefox install path:
- Run Firefox and view about:policies. The URLs show up under the Active tab. However, none of the extensions are ever installed, and in the Error tab it shows the following errors:
Download failed - https://addons.mozilla.org/firefox/downloads/latest/ublock-origin
Download failed - https://addons.mozilla.org/firefox/downloads/latest/vimium-ff
Create a new Firefox profile "firefox --new-instance -P"
Observe that the extensions do actually install
Add an extension to "policies.json" (this is in order to trigger Firefox to reload the policy)
Restart Firefox with the new profile, go to about:policies, and notice that the same list of errors has appeared for every extension listed
Extensions will only be installed on the first run of Firefox on a fresh user profile. Otherwise there are errors in downloading the extensions.
Any change to policies.json should cause the new extensions to be installed successfully, without errors.