Open Bug 1836480 Opened 4 months ago Updated 4 months ago

Convert toolkit/mozapps/extensions/internal/XPI* to ES modules

Categories

(Toolkit :: Add-ons Manager, task, P2)

task

Tracking

()

People

(Reporter: standard8, Assigned: robwu)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [esmification-timeline][addons-jira])

Attempting to convert the toolkit/mozapps/extensions/internal/XPI* modules to ES modules causes tests to fail, because the tests are unloading the modules:

https://searchfox.org/mozilla-central/rev/87ba454e5c68ff77dff9acb9d7b0b51d6df12d11/toolkit/mozapps/extensions/internal/AddonTestUtils.jsm#873-875

ES modules cannot be unloaded, so there is no direct relationship here.

This will need someone from the team to investigate why this is needed and alternatives for it.

See Also: → 1836482
Whiteboard: [esmification-timeline] → [esmification-timeline][addons-jira]

I'm going to take this, and hopefully land in ESR 115 to make uplifting less painful later on.

Assignee: nobody → rob

I meant to self-assign bug 1836482. But this one is also important, but more involved...

Blocks: 1830399
Severity: -- → N/A
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.