Add checks for BigInt/BigUint in getRandomValues (#33485)

Signed-off-by: Daniel Adams <msub2official@gmail.com>
This commit is contained in:
Daniel Adams 2024-09-18 04:07:05 +00:00 committed by GitHub
parent 7eda58ea6d
commit 632d832704
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 50 deletions

View file

@ -83,6 +83,8 @@ fn is_integer_buffer(array_type: Type) -> bool {
Type::Uint16 |
Type::Int16 |
Type::Uint32 |
Type::Int32
Type::Int32 |
Type::BigInt64 |
Type::BigUint64
)
}

View file

@ -1,56 +1,7 @@
[getRandomValues.any.worker.html]
[Integer array: BigInt64Array]
expected: FAIL
[Large length: BigInt64Array]
expected: FAIL
[Null arrays: BigInt64Array]
expected: FAIL
[Integer array: BigUint64Array]
expected: FAIL
[Large length: BigUint64Array]
expected: FAIL
[Null arrays: BigUint64Array]
expected: FAIL
[Float16 arrays]
expected: FAIL
[Subclass of BigInt64Array]
expected: FAIL
[Subclass of BigUint64Array]
expected: FAIL
[getRandomValues.any.html]
[Integer array: BigInt64Array]
expected: FAIL
[Large length: BigInt64Array]
expected: FAIL
[Null arrays: BigInt64Array]
expected: FAIL
[Integer array: BigUint64Array]
expected: FAIL
[Large length: BigUint64Array]
expected: FAIL
[Null arrays: BigUint64Array]
expected: FAIL
[Float16 arrays]
expected: FAIL
[Subclass of BigInt64Array]
expected: FAIL
[Subclass of BigUint64Array]
expected: FAIL