Closed Bug 1791828 Opened 2 years ago Closed 2 years ago

Migrate lazyImporter to ChromeUtils.defineModuleGetter

Categories

(DevTools :: General, enhancement)

enhancement

Tracking

(firefox107 fixed)

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

lazyImporter is a devtools specific which is equivalent to ChromeUtils.defineModuleGetter.

Migrating to the generic method would help reuse the existing esmify scripts to convert from defineModuleGetter to defineESModuleGetter.

Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/25bd3944c853
[devtools] Remove devtools lazyImporter in favor of ChromeUtils.defineModuleGetter. r=jdescottes
https://hg.mozilla.org/integration/autoland/rev/4afd6fc64097
[devtools] Remove eslint support for DevTools's lazyImporter. r=jdescottes
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: