Bug 1766801 Comment 0 Edit History

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

There are some not-in-tree (mozilla-unified) consumer of JSM (`Cu.import`, `ChromeUtils.import`), and they needs to be rewritten during ESM-ification.

The shim code mentioned in bug 1766761 should help not to break during transition, but
the rewrite is necessary anyway at some timing.

So far, the following will be affected:
  * Firefox extensions that uses experiments
     * this requires privileged signature.  so there won't be many
     * some of https://github.com/mozilla-extensions/
  * [AutoConfig script](https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig)
     * written by users (enterprise case etc)
     * needs detailed documentation for rewrite
     * needs some cycles compatible both with before/after
  * Thunderbird extensions
     * experiments API is available for all extensions
     * needs detailed documentation for rewrite (can be share the content with AutoConfig?)
     * needs some cycles compatible both with before/after
There are some not-in-tree (mozilla-central) consumer of JSM (`Cu.import`, `ChromeUtils.import`), and they needs to be rewritten during ESM-ification.

The shim code mentioned in bug 1766761 should help not to break during transition, but
the rewrite is necessary anyway at some timing.

So far, the following will be affected:
  * Firefox extensions that uses experiments
     * this requires privileged signature.  so there won't be many
     * some of https://github.com/mozilla-extensions/
  * [AutoConfig script](https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig)
     * written by users (enterprise case etc)
     * needs detailed documentation for rewrite
     * needs some cycles compatible both with before/after
  * Thunderbird extensions
     * experiments API is available for all extensions
     * needs detailed documentation for rewrite (can be share the content with AutoConfig?)
     * needs some cycles compatible both with before/after
There are some not-in-tree (mozilla-central, comm-central) consumer of JSM (`Cu.import`, `ChromeUtils.import`), and they needs to be rewritten during ESM-ification.

The shim code mentioned in bug 1766761 should help not to break during transition, but
the rewrite is necessary anyway at some timing.

So far, the following will be affected:
  * Firefox extensions that uses experiments
     * this requires privileged signature.  so there won't be many
     * some of https://github.com/mozilla-extensions/
  * [AutoConfig script](https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig)
     * written by users (enterprise case etc)
     * needs detailed documentation for rewrite
     * needs some cycles compatible both with before/after
  * Thunderbird extensions
     * experiments API is available for all extensions
     * needs detailed documentation for rewrite (can be share the content with AutoConfig?)
     * needs some cycles compatible both with before/after

Back to Bug 1766801 Comment 0