summaryrefslogtreecommitdiff
path: root/ext/crypto/00_crypto.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/crypto/00_crypto.js')
-rw-r--r--ext/crypto/00_crypto.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/crypto/00_crypto.js b/ext/crypto/00_crypto.js
index c75d3b71d..dadbf4677 100644
--- a/ext/crypto/00_crypto.js
+++ b/ext/crypto/00_crypto.js
@@ -2666,7 +2666,7 @@ function importKeyAES(
TypedArrayPrototypeGetByteLength(keyData) * 8,
)
) {
- throw new DOMException("Invalid key length", "Datarror");
+ throw new DOMException("Invalid key length", "DataError");
}
break;