summaryrefslogtreecommitdiffstats
path: root/dom/push/PushCrypto.sys.mjs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
commit086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch)
treea4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /dom/push/PushCrypto.sys.mjs
parentAdding debian version 124.0.1-1. (diff)
downloadfirefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz
firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/push/PushCrypto.sys.mjs')
-rw-r--r--dom/push/PushCrypto.sys.mjs4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/push/PushCrypto.sys.mjs b/dom/push/PushCrypto.sys.mjs
index 384901f925..fab1dc4762 100644
--- a/dom/push/PushCrypto.sys.mjs
+++ b/dom/push/PushCrypto.sys.mjs
@@ -377,7 +377,7 @@ class Decoder {
* @param {BufferSource} ikm The ECDH shared secret.
* @returns {Array} A `[gcmBits, nonce]` tuple.
*/
- async deriveKeyAndNonce(ikm) {
+ async deriveKeyAndNonce() {
throw new Error("Missing `deriveKeyAndNonce` implementation");
}
@@ -408,7 +408,7 @@ class Decoder {
* @param {Uint8Array} chunk The decrypted block with padding.
* @returns {Uint8Array} The block with padding removed.
*/
- unpadChunk(chunk, last) {
+ unpadChunk() {
throw new Error("Missing `unpadChunk` implementation");
}