diff options
Diffstat (limited to 'dom/manifest')
-rw-r--r-- | dom/manifest/ImageObjectProcessor.sys.mjs | 2 | ||||
-rw-r--r-- | dom/manifest/Manifest.sys.mjs | 2 | ||||
-rw-r--r-- | dom/manifest/ManifestIcons.sys.mjs | 2 | ||||
-rw-r--r-- | dom/manifest/test/test_ManifestProcessor_warnings.html | 2 |
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 = []; |