Open Bug 1722354 Opened 3 years ago Updated 3 years ago

Evaluate what AddonTestUtils.promiseShutdownManager should do on the extension worker registration in the long run


(WebExtensions :: General, task, P3)



(Not tracked)


(Reporter: rpl, Unassigned)


(Blocks 1 open bug)


(Whiteboard: [mv3-m3])

In the long run we likely need to make AddonTestUtils.promiseShutdownManager to explicitly handle the extension service worker registration in a way that resemble the behavior expected by the extension service worker registration on browser shutdown.

At the moment there are only a few tests with test extensions including an extension service workers, and they do cover specific scenario and the tests themselves are taking care of creating the expected environment in which the test is meant to run (as an example of these tests see the patches attached to Bug 1638099), but in the long run more and more tests are meant to be executed on mv3 test extensions and at that point we will not want to repeat the environment setup in each of the test files and instead we should ensure that the test helpers are taking care of that.

See Also: → 1638099
Severity: -- → N/A
Priority: -- → P3
Whiteboard: [mv3-m3]
You need to log in before you can comment on or make changes to this bug.