forked from mirrors/gecko-dev
Bug 1779629 - Hand-convert mozjexl.js to an ESM. r=dmose,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D203373
This commit is contained in:
parent
89637d1080
commit
b09affb213
6 changed files with 5 additions and 9 deletions
|
|
@ -1431,7 +1431,7 @@ toolkit/components/translation/cld2/
|
|||
toolkit/components/translations/bergamot-translator/thirdparty
|
||||
toolkit/components/translations/bergamot-translator/bergamot-translator.js
|
||||
toolkit/components/url-classifier/chromium/
|
||||
toolkit/components/utils/mozjexl.js
|
||||
toolkit/components/utils/mozjexl.sys.mjs
|
||||
toolkit/components/viaduct/fetch_msg_types.pb.cc
|
||||
toolkit/components/viaduct/fetch_msg_types.pb.h
|
||||
toolkit/content/widgets/vendor/lit.all.mjs
|
||||
|
|
|
|||
|
|
@ -5,13 +5,9 @@
|
|||
const lazy = {};
|
||||
|
||||
ChromeUtils.defineESModuleGetters(lazy, {
|
||||
mozjexl: "resource://gre/modules/components-utils/mozjexl.sys.mjs",
|
||||
Sampling: "resource://gre/modules/components-utils/Sampling.sys.mjs",
|
||||
});
|
||||
ChromeUtils.defineModuleGetter(
|
||||
lazy,
|
||||
"mozjexl",
|
||||
"resource://gre/modules/components-utils/mozjexl.js"
|
||||
);
|
||||
|
||||
function getPrefValue(prefKey, defaultValue) {
|
||||
switch (Services.prefs.getPrefType(prefKey)) {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ EXTRA_JS_MODULES["components-utils"] = [
|
|||
"ClientEnvironment.sys.mjs",
|
||||
"FilterExpressions.sys.mjs",
|
||||
"JsonSchemaValidator.sys.mjs",
|
||||
"mozjexl.js",
|
||||
"mozjexl.sys.mjs",
|
||||
"Sampling.sys.mjs",
|
||||
"WindowsInstallsInfo.sys.mjs",
|
||||
"WindowsVersionInfo.sys.mjs",
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
1
toolkit/components/utils/mozjexl.sys.mjs
Normal file
1
toolkit/components/utils/mozjexl.sys.mjs
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -188,7 +188,7 @@ toolkit/components/translation/cld2/
|
|||
toolkit/components/translations/bergamot-translator/thirdparty
|
||||
toolkit/components/translations/bergamot-translator/bergamot-translator.js
|
||||
toolkit/components/url-classifier/chromium/
|
||||
toolkit/components/utils/mozjexl.js
|
||||
toolkit/components/utils/mozjexl.sys.mjs
|
||||
toolkit/components/viaduct/fetch_msg_types.pb.cc
|
||||
toolkit/components/viaduct/fetch_msg_types.pb.h
|
||||
toolkit/content/widgets/vendor/lit.all.mjs
|
||||
|
|
|
|||
Loading…
Reference in a new issue