summaryrefslogtreecommitdiffstats
path: root/tools/esmify
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:14:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:14:29 +0000
commitfbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch)
tree4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /tools/esmify
parentReleasing progress-linux version 124.0.1-1~progress7.99u1. (diff)
downloadfirefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.tar.xz
firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.zip
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tools/esmify')
-rw-r--r--tools/esmify/is-esmified.js2
-rw-r--r--tools/esmify/map.json2
-rw-r--r--tools/esmify/utils.js2
3 files changed, 2 insertions, 4 deletions
diff --git a/tools/esmify/is-esmified.js b/tools/esmify/is-esmified.js
index 872b4cd877..978e804f4b 100644
--- a/tools/esmify/is-esmified.js
+++ b/tools/esmify/is-esmified.js
@@ -34,7 +34,7 @@ function generateESMURIMap(jsm_map) {
function isESMifiedSlow(resourceURI) {
if (!(resourceURI in uri_map)) {
- console.log(`WARNING: Unknown module: ${resourceURI}`);
+ console.warn(`WARNING: Unknown module: ${resourceURI}`);
return { result: false, jsms: [] };
}
diff --git a/tools/esmify/map.json b/tools/esmify/map.json
index 14491bdb07..04a790d406 100644
--- a/tools/esmify/map.json
+++ b/tools/esmify/map.json
@@ -470,8 +470,6 @@
"resource://gre/modules/BookmarkHTMLUtils.jsm": "toolkit/components/places/BookmarkHTMLUtils.jsm",
"resource://gre/modules/BookmarkJSONUtils.jsm": "toolkit/components/places/BookmarkJSONUtils.jsm",
"resource://gre/modules/Bookmarks.jsm": "toolkit/components/places/Bookmarks.jsm",
- "resource://gre/modules/BrowserElementParent.jsm": "dom/browser-element/BrowserElementParent.jsm",
- "resource://gre/modules/BrowserElementPromptService.jsm": "dom/browser-element/BrowserElementPromptService.jsm",
"resource://gre/modules/BrowserTelemetryUtils.jsm": "toolkit/modules/BrowserTelemetryUtils.jsm",
"resource://gre/modules/BrowserUtils.jsm": "toolkit/modules/BrowserUtils.jsm",
"resource://gre/modules/CSV.js": "toolkit/components/passwordmgr/CSV.js",
diff --git a/tools/esmify/utils.js b/tools/esmify/utils.js
index 801aab62af..386d4d6673 100644
--- a/tools/esmify/utils.js
+++ b/tools/esmify/utils.js
@@ -8,7 +8,7 @@
function warnForPath(inputFile, path, message) {
const loc = path.node.loc;
- console.log(
+ console.warn(
`WARNING: ${inputFile}:${loc.start.line}:${loc.start.column} : ${message}`
);
}