The default bug view has changed. See this FAQ.

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

NEW
Unassigned

Status

()

Toolkit
WebExtensions: General
P5
normal
5 months ago
5 months ago

People

(Reporter: mattw, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [runtime] triaged)

(Reporter)

Description

5 months ago
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
(Reporter)

Updated

5 months ago
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.

Updated

5 months ago
Priority: -- → P5
Whiteboard: [runtime] → [runtime] triaged

Updated

5 months ago
Component: WebExtensions: Untriaged → WebExtensions: General
You need to log in before you can comment on or make changes to this bug.