Bug 1820880 - Convert toolkit/mozapps/update to import ES modules directly. r=Standard8,settings-reviewers,application-update-reviewers,bytesized
Depends on D172120 Differential Revision: https://phabricator.services.mozilla.com/D172121
This commit is contained in:
@@ -12,11 +12,11 @@ var { XPCOMUtils } = ChromeUtils.importESModule(
|
||||
);
|
||||
|
||||
ChromeUtils.defineESModuleGetters(this, {
|
||||
AppUpdater: "resource://gre/modules/AppUpdater.sys.mjs",
|
||||
UpdateUtils: "resource://gre/modules/UpdateUtils.sys.mjs",
|
||||
});
|
||||
|
||||
XPCOMUtils.defineLazyModuleGetters(this, {
|
||||
AppUpdater: "resource://gre/modules/AppUpdater.jsm",
|
||||
DownloadUtils: "resource://gre/modules/DownloadUtils.jsm",
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user