Bug 1788925 - Convert AboutReader from JSM to ESM. r=Gijs.
Differential Revision: https://phabricator.services.mozilla.com/D157034
This commit is contained in:
@@ -25,11 +25,9 @@ ChromeUtils.defineModuleGetter(
|
||||
"PromiseUtils",
|
||||
"resource://gre/modules/PromiseUtils.jsm"
|
||||
);
|
||||
ChromeUtils.defineModuleGetter(
|
||||
this,
|
||||
"AboutReaderParent",
|
||||
"resource:///actors/AboutReaderParent.jsm"
|
||||
);
|
||||
ChromeUtils.defineESModuleGetters(this, {
|
||||
AboutReaderParent: "resource:///actors/AboutReaderParent.sys.mjs",
|
||||
});
|
||||
|
||||
var { ExtensionError } = ExtensionUtils;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user