Note: There are a few cases of duplicates in user autocompletion which are being worked on.

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

NEW
Unassigned

Status

()

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

People

(Reporter: mattw, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [runtime] triaged)

(Reporter)

Description

9 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

9 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

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

Updated

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