Open Bug 1639163 Opened 3 months ago Updated 2 months ago

Temporary .xpis are not deleted from the temp folder if canceling the add-on AMO install


(Toolkit :: Add-ons Manager, defect, P3)

78 Branch



Tracking Status
firefox76 --- affected
firefox77 --- affected
firefox78 --- affected


(Reporter: alexandru.cornestean, Unassigned)




(1 file)

Attached image tmp xpi not deleted.gif

[Affected versions]:

  • 78.0a1/20200518214824
  • 77.0b7/20200515125749
  • 76.0.1/20200507114007

[Affected platforms]:

  • Windows 10 Pro 64-bit
  • Ubuntu 16.04 LTS
  • macOS Catalina 10.15

Make sure to open the temp folder of each specific OS in order to see the issue occuring.

[Steps to reproduce]:

  1. Go to AMO and access any add-on page
  2. Click on the “+Add to Firefox” button to install the add-on
  3. Notice that in the temp folder a tmp*.xpi file will be created
  4. On the add-on install doorhanger choose “Cancel” to abort the installation processe
  5. Notice that in the temp folder, the tmp*.xpi file created earlier will not be deleted

[Expected results]:
Interrupting the AMO install process of add-ons should still delete temporary .xpi files from the temp folder.

[Actual results]:
Temporary .xpi files created during the add-on AMO installation are not deleted when canceling the install.

In the attached video you can see that the second tmp.xpi will disappear as a result of me completing the add-on installation, however, the first tmp.xpi will remain as I canceled the installation.

Blocks: 1473837

May be related: tmp-*.xpi files are also not deleted after upgrading add-ons. uBlock Origin is frequently updates these days, noticed because of it.

The severity field is not set for this bug.
:mixedpuppy, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(mixedpuppy)

May be related to bug 1495021

Severity: -- → S4
Flags: needinfo?(mixedpuppy)
Priority: -- → P3
See Also: → 1495021
You need to log in before you can comment on or make changes to this bug.