Closed Bug 1778336 Opened 2 years ago Closed 2 years ago

Support ChromeUtils.importESModule in newtab karma test

Categories

(Firefox :: New Tab Page, task)

task

Tracking

()

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(1 file)

https://searchfox.org/mozilla-central/rev/3e1a721bce1da3ae04675539b39a4e95b25a046d/browser/components/newtab/test/unit/unit-entry.js#140,145-147

ChromeUtils: {
...
  import() {
    return global;
  },

The same thing is necessary for ChromeUtils.importESModule

See Also: → 1772177
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/ea45efc19866
Support ChromeUtils.importESModule in newtab karma test. r=Mardak
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: