Closed Bug 1671023 Opened 4 years ago Closed 4 years ago

Force Installed extensions don't repair if removed from outside of firefox

Categories

(Firefox :: Enterprise Policies, defect)

78 Branch
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: mczack, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Firefox/78.0

Steps to reproduce:

Use Enterprise Policy Extension Settings to Force Install an Extension: ID

rm -rf ~/Library/Application\ Support/Firefox/Profiles/2egnzcky.default-esr/extensions/ID.xpi

Firefox shows the extension as still installed.

Actual results:

Firefox shows the extension as installed and prevents a way to reinstall it or repair it.

Expected results:

Firefox should see that the extension itself is missing from the user profile and reinstall the required extension

Component: Untriaged → Enterprise Policies

I'm about to check macOS, but want to make sure I got the steps right (because I couldn't recreate).

I used this policy:

{
  "uBlock0@raymondhill.net": {
    "installation_mode": "force_installed",
    "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"
  }
}

I started Firefox, verified that uBlock was installed.
Closed Firefox.
Deleted
extensions/uBlock0@raymondhill.net.xpi
Restarted Firefox
Extension was installed again.

I was testing nightly, so that might be the difference. I'll check release and 78.

I tested 78 on mac and Windows and I can't recreate. If I delete the XPI, as soon a I restart, the addon comes back...

This is with a custom XPI not in the addon store, so let me test again.

{"install_url":"https://customextension.com/extensions/firefox.xpi","installation_mode":"force_installed"}

I just tested again, no longer an issue. I think we had been able to replicate this on ESR 68.* . We should be able to close this now. Sorry for the wasted effort.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.