Bug 1612572 Comment 3 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Here's WIP scripts and rules https://github.com/arai-a/jsm-to-esm
for:
  * `EXPORTED_SYMBOLS` to `export` declarations
  * `ChromeUtils.import` to `ChromeUtils.importESM`
  * top-level `ChromeUtils.importESM` to `import` declaration
Here's WIP scripts and rules https://github.com/arai-a/jsm-to-esm
for:
  * `EXPORTED_SYMBOLS` to `export` declarations
  * `ChromeUtils.import` to `ChromeUtils.importESM`
  * `XPCOMUtils.defineLazyModuleGetters` to `ChromeUtils.defineESMGetters`
  * top-level `ChromeUtils.importESM` to `import` declaration
  * rename file and modify `moz.build` etc

things not covered are:
  * `components.conf`
  * process/window actors API call
Here's WIP scripts and rules https://github.com/arai-a/jsm-to-esm
for:
  * `EXPORTED_SYMBOLS` to `export` declarations
  * `ChromeUtils.import` to `ChromeUtils.importESM`
  * `XPCOMUtils.defineLazyModuleGetters` to `ChromeUtils.defineESMGetters`
  * top-level `ChromeUtils.import` to `import` declaration
  * rename file and modify `moz.build` etc

things not covered are:
  * process/window actors API call

Back to Bug 1612572 Comment 3