1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00

fix: Big{U|}Int64Array in crypto.getRandomValues (#11447)

Relevant spec change: https://github.com/w3c/webcrypto/pull/266
This commit is contained in:
Luca Casonato 2021-07-19 15:35:47 +02:00 committed by GitHub
parent af4912ed0d
commit 08d2c7250b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -776,11 +776,13 @@
!(
arrayBufferView instanceof Int8Array ||
arrayBufferView instanceof Uint8Array ||
arrayBufferView instanceof Uint8ClampedArray ||
arrayBufferView instanceof Int16Array ||
arrayBufferView instanceof Uint16Array ||
arrayBufferView instanceof Int32Array ||
arrayBufferView instanceof Uint32Array ||
arrayBufferView instanceof Uint8ClampedArray
arrayBufferView instanceof BigInt64Array ||
arrayBufferView instanceof BigUint64Array
)
) {
throw new DOMException(

View file

@ -1962,7 +1962,7 @@
"wrapKey_unwrapKey.https.any.html": false
},
"randomUUID.any.html": true,
"getRandomValues-bigint.tentative.any.html": false
"getRandomValues-bigint.tentative.any.html": true
},
"console": {
"console-is-a-namespace.any.html": true,