Failed mozAddonManager installs don't properly cancel
Categories
(Toolkit :: Add-ons Manager, enhancement, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox67 | --- | fixed |
People
(Reporter: mkaply, Assigned: mkaply)
Details
Attachments
(1 file, 1 obsolete file)
If a mozAddonManager fails for some reason in isUsableAddon, the addon is still installed but just disabled.
This could happen, for instance, if an addon AMO was marked for a particular version.
It's also going to happen with our new whitelisting policy.
| Assignee | ||
Comment 1•6 years ago
|
||
aswan:
So I believe this is the right thing to do (the same thing we do here):
https://searchfox.org/mozilla-central/source/toolkit/mozapps/extensions/AddonManager.jsm#1815
What I'm having trouble with is how we would notify the user in this case (we need a browser) and if we can somehow communicate this back to the createInstall so it actually fails. Right now, the install just sits there.
Any ideas?
| Assignee | ||
Comment 2•6 years ago
|
||
| Assignee | ||
Updated•6 years ago
|
Comment 4•6 years ago
|
||
Backed out for linting failure
Backout: https://hg.mozilla.org/integration/autoland/rev/5f6a77f08081eeab95938e4dc15af5674c933871
Comment 6•6 years ago
|
||
| bugherder | ||
| Assignee | ||
Updated•6 years ago
|
Description
•