Re-applying force_installed does not restore an extension that's pending uninstall
Categories
(Enterprise Products :: Firefox, enhancement)
Tracking
(Not tracked)
People
(Reporter: bsmth, Assigned: janika)
References
(Depends on 1 open bug)
Details
(Whiteboard: [ent-sprint:163])
Attachments
(1 external file)
ExtensionSettings treats an extension that's being removed by the user as "installed". Re-applying force_installed doesn't cancel the pending uninstall nor restarts the extension; it is only restored after Firefox restarts and finalizes the removal. This is only really visible in FxEnt because we can apply and un-apply policies quite quickly.
STR: See https://bugzilla.mozilla.org/show_bug.cgi?id=2056600#c7
Details:
uninstall(true)leaves the add-on inPENDING_UNINSTALL.- A pending-uninstall add-on is still returned by
getAllAddons() - Re-applying
force_installedleaves the add-on pending and the extension not running.
Restarting finalizes the uninstall, which is why the extension only returns after a restart.
| Assignee | ||
Updated•2 months ago
|
Comment 1•15 days ago
|
||
(via GitHub webhook, authenticated as shared-secret)
| Assignee | ||
Updated•15 days ago
|
Updated•15 days ago
|
Comment 2•12 days ago
|
||
Authored by https://github.com/1rneh
https://github.com/mozilla/enterprise-firefox/commit/a20dc234a0708085a0d7777c8bb5fca1efeb0387
[enterprise-main] Merge pull request #1860 from 1rneh/bug-2067691-reapply-force-installed
(via GitHub webhook, authenticated as shared-secret)
Description
•