diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
commit | fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch) | |
tree | 4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /dom/crypto | |
parent | Releasing progress-linux version 124.0.1-1~progress7.99u1. (diff) | |
download | firefox-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/crypto')
-rw-r--r-- | dom/crypto/test/test-array.js | 2 | ||||
-rw-r--r-- | dom/crypto/test/test-worker.js | 2 | ||||
-rw-r--r-- | dom/crypto/test/test_WebCrypto.html | 4 | ||||
-rw-r--r-- | dom/crypto/test/test_WebCrypto_ECDH.html | 2 | ||||
-rw-r--r-- | dom/crypto/test/test_WebCrypto_JWK.html | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/dom/crypto/test/test-array.js b/dom/crypto/test/test-array.js index 0d7f67433f..357694f9de 100644 --- a/dom/crypto/test/test-array.js +++ b/dom/crypto/test/test-array.js @@ -112,7 +112,7 @@ function WorkerTest(worker, name, test) { // We expect only boolean responses from the worker script. worker.onmessage = e => this.complete(e.data); - worker.onerror = e => this.complete(false); + worker.onerror = () => this.complete(false); }; var base = new Test(name, test); diff --git a/dom/crypto/test/test-worker.js b/dom/crypto/test/test-worker.js index 263877ad08..47a365a66f 100644 --- a/dom/crypto/test/test-worker.js +++ b/dom/crypto/test/test-worker.js @@ -31,7 +31,7 @@ function memcmp_complete(test, value) { }; } -function error(test) { +function error() { return function (x) { throw x; }; diff --git a/dom/crypto/test/test_WebCrypto.html b/dom/crypto/test/test_WebCrypto.html index 90da813880..aded1bdd91 100644 --- a/dom/crypto/test/test_WebCrypto.html +++ b/dom/crypto/test/test_WebCrypto.html @@ -56,7 +56,7 @@ TestArray.addTest( crypto.subtle.importKey("raw", tv.raw, alg, true, ["encrypt"]) .then( error(that), - complete(that, function(x) { return true; }) + complete(that, function() { return true; }) ); } ); @@ -982,7 +982,7 @@ TestArray.addTest( .then(doVerify) .then( error(that), - complete(that, function(x) { return true; }) + complete(that, function() { return true; }) ); } ); diff --git a/dom/crypto/test/test_WebCrypto_ECDH.html b/dom/crypto/test/test_WebCrypto_ECDH.html index 2d8f9bba28..8386d3c3dd 100644 --- a/dom/crypto/test/test_WebCrypto_ECDH.html +++ b/dom/crypto/test/test_WebCrypto_ECDH.html @@ -61,7 +61,7 @@ TestArray.addTest( function setKeyPair(x) { pair = x; } function doDerive(n) { - return function(x) { + return function() { return crypto.subtle.deriveBits({ name: "ECDH", public: pair.publicKey }, pair.privateKey, n * 8); }; } diff --git a/dom/crypto/test/test_WebCrypto_JWK.html b/dom/crypto/test/test_WebCrypto_JWK.html index 6e83a73d8d..4fa2af5dce 100644 --- a/dom/crypto/test/test_WebCrypto_JWK.html +++ b/dom/crypto/test/test_WebCrypto_JWK.html @@ -76,7 +76,7 @@ TestArray.addTest( function doVerify(x) { return crypto.subtle.verify(alg.name, x, tv.rsassa.sig256, tv.rsassa.data); } - function fail(x) { error(that); } + function fail() { error(that); } crypto.subtle.importKey("jwk", tv.rsassa.jwk_pub, alg, false, ["verify"]) .then( doVerify, fail ) |