summaryrefslogtreecommitdiffstats
path: root/dom/manifest
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 /dom/manifest
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 'dom/manifest')
-rw-r--r--dom/manifest/ImageObjectProcessor.sys.mjs2
-rw-r--r--dom/manifest/Manifest.sys.mjs2
-rw-r--r--dom/manifest/ManifestIcons.sys.mjs2
-rw-r--r--dom/manifest/test/test_ManifestProcessor_warnings.html2
4 files changed, 4 insertions, 4 deletions
diff --git a/dom/manifest/ImageObjectProcessor.sys.mjs b/dom/manifest/ImageObjectProcessor.sys.mjs
index f72c5ff9fe..ea57d596a1 100644
--- a/dom/manifest/ImageObjectProcessor.sys.mjs
+++ b/dom/manifest/ImageObjectProcessor.sys.mjs
@@ -6,7 +6,7 @@
* Implementation of Image Object processing algorithms from:
* http://www.w3.org/TR/appmanifest/#image-object-and-its-members
*
- * This is intended to be used in conjunction with ManifestProcessor.jsm
+ * This is intended to be used in conjunction with ManifestProcessor.sys.mjs
*
* Creates an object to process Image Objects as defined by the
* W3C specification. This is used to process things like the
diff --git a/dom/manifest/Manifest.sys.mjs b/dom/manifest/Manifest.sys.mjs
index f6fab11277..15e1e2ef93 100644
--- a/dom/manifest/Manifest.sys.mjs
+++ b/dom/manifest/Manifest.sys.mjs
@@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/*
- * Manifest.jsm is the top level api for managing installed web applications
+ * Manifest.sys.mjs is the top level api for managing installed web applications
* https://www.w3.org/TR/appmanifest/
*
* It is used to trigger the installation of a web application via .install()
diff --git a/dom/manifest/ManifestIcons.sys.mjs b/dom/manifest/ManifestIcons.sys.mjs
index 9994c40d55..62e07e07ae 100644
--- a/dom/manifest/ManifestIcons.sys.mjs
+++ b/dom/manifest/ManifestIcons.sys.mjs
@@ -54,7 +54,7 @@ async function getIcon(aWindow, icons, expectedSize) {
index = icons.length - 1;
}
- return fetchIcon(aWindow, icons[index].src).catch(err => {
+ return fetchIcon(aWindow, icons[index].src).catch(() => {
// Remove all icons with the failed source, the same source
// may have been used for multiple sizes
icons = icons.filter(x => x.src !== icons[index].src);
diff --git a/dom/manifest/test/test_ManifestProcessor_warnings.html b/dom/manifest/test/test_ManifestProcessor_warnings.html
index f2092c1dcf..06c7d0325a 100644
--- a/dom/manifest/test/test_ManifestProcessor_warnings.html
+++ b/dom/manifest/test/test_ManifestProcessor_warnings.html
@@ -131,7 +131,7 @@ const options = {...data, checkConformance: true } ;
},
warn: "The id member must have the same origin as the start_url member.",
}
-].forEach((test, index) => {
+].forEach((test) => {
test.func();
const result = processor.process(options);
let messages = [];