When an add-on has an update, it is downloaded to a temporary location, and the update may automatically be installed, or cancelled/not processed (if it has a permission prompt). The `tmpaddon`* file is created at https://searchfox.org/mozilla-central/rev/b70bc09685763c44a8e56e4e04cb741fa020701a/toolkit/mozapps/extensions/internal/XPIInstall.jsm#4055-4061 And the file should ultimately be deleted after the update notification has been handled by https://searchfox.org/mozilla-central/rev/b70bc09685763c44a8e56e4e04cb741fa020701a/toolkit/mozapps/extensions/internal/XPIInstall.jsm#2978-2979, specifically by an `onUpdateAvailable` listener (called from here](https://searchfox.org/mozilla-central/rev/b70bc09685763c44a8e56e4e04cb741fa020701a/toolkit/mozapps/extensions/internal/XPIInstall.jsm#2929-2935)). Because this file is not explicitly deleted, `tmpaddon` files may accumulate in the tmp dir.
Bug 1753110 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
When an add-on has an update, it is downloaded to a temporary location, and the update may automatically be installed, or cancelled/not processed (if it has a permission prompt). The `tmpaddon`* file is created at https://searchfox.org/mozilla-central/rev/b70bc09685763c44a8e56e4e04cb741fa020701a/toolkit/mozapps/extensions/internal/XPIInstall.jsm#4055-4061 And the file should ultimately be deleted after the update notification has been handled by https://searchfox.org/mozilla-central/rev/b70bc09685763c44a8e56e4e04cb741fa020701a/toolkit/mozapps/extensions/internal/XPIInstall.jsm#2978-2979, specifically by an `onUpdateAvailable` listener ([called from here](https://searchfox.org/mozilla-central/rev/b70bc09685763c44a8e56e4e04cb741fa020701a/toolkit/mozapps/extensions/internal/XPIInstall.jsm#2929-2935)). Because this file is not explicitly deleted, `tmpaddon` files may accumulate in the tmp dir.