This document shows a possible migration path from Cu.import()
to ES modules for the code of Firefox.
- Preserve current JSM semantics where multiple imports of a single module from different globals results in a single module instance that lives in a separate global to the importer.
- Add-ons and Thunderbird should not be affected by the migration.
- Memory usage should not be adversly affected.