Closed Bug 1313644 Opened 8 years ago Closed 6 years ago

Temporary directory not cleaned up properly if AddonTestUtils is imported after ExtensionTestUtils is initialized.

Categories

(WebExtensions :: General, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: mattw, Unassigned)

References

Details

(Whiteboard: [runtime] triaged)

If the import of AddonTestUtils.jsm is moved after `ExtensionTestUtils.init(this)`, the following error is thrown when `test_ext_runtime_onInstalled.js` finishes running:

Error: Found unexpected files in temporary directory: generated-extension-2.xpi, generated-extension-3.xpi, generated-extension-4.xpi, generated-extension.xpi at resource://testing-common/AddonTestUtils.jsm:299
Summary: Temporary directory not cleaned up properly if AddonTestUtils is imported after ExtensionTestUtils is initalized. → Temporary directory not cleaned up properly if AddonTestUtils is imported after ExtensionTestUtils is initialized.
Priority: -- → P5
Whiteboard: [runtime] → [runtime] triaged
Component: WebExtensions: Untriaged → WebExtensions: General
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.