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:
parent
af4912ed0d
commit
08d2c7250b
2 changed files with 4 additions and 2 deletions
|
@ -776,11 +776,13 @@
|
||||||
!(
|
!(
|
||||||
arrayBufferView instanceof Int8Array ||
|
arrayBufferView instanceof Int8Array ||
|
||||||
arrayBufferView instanceof Uint8Array ||
|
arrayBufferView instanceof Uint8Array ||
|
||||||
|
arrayBufferView instanceof Uint8ClampedArray ||
|
||||||
arrayBufferView instanceof Int16Array ||
|
arrayBufferView instanceof Int16Array ||
|
||||||
arrayBufferView instanceof Uint16Array ||
|
arrayBufferView instanceof Uint16Array ||
|
||||||
arrayBufferView instanceof Int32Array ||
|
arrayBufferView instanceof Int32Array ||
|
||||||
arrayBufferView instanceof Uint32Array ||
|
arrayBufferView instanceof Uint32Array ||
|
||||||
arrayBufferView instanceof Uint8ClampedArray
|
arrayBufferView instanceof BigInt64Array ||
|
||||||
|
arrayBufferView instanceof BigUint64Array
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
throw new DOMException(
|
throw new DOMException(
|
||||||
|
|
|
@ -1962,7 +1962,7 @@
|
||||||
"wrapKey_unwrapKey.https.any.html": false
|
"wrapKey_unwrapKey.https.any.html": false
|
||||||
},
|
},
|
||||||
"randomUUID.any.html": true,
|
"randomUUID.any.html": true,
|
||||||
"getRandomValues-bigint.tentative.any.html": false
|
"getRandomValues-bigint.tentative.any.html": true
|
||||||
},
|
},
|
||||||
"console": {
|
"console": {
|
||||||
"console-is-a-namespace.any.html": true,
|
"console-is-a-namespace.any.html": true,
|
||||||
|
|
Loading…
Reference in a new issue