mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Add checks for BigInt/BigUint in getRandomValues (#33485)
Signed-off-by: Daniel Adams <msub2official@gmail.com>
This commit is contained in:
parent
7eda58ea6d
commit
632d832704
2 changed files with 3 additions and 50 deletions
|
@ -83,6 +83,8 @@ fn is_integer_buffer(array_type: Type) -> bool {
|
||||||
Type::Uint16 |
|
Type::Uint16 |
|
||||||
Type::Int16 |
|
Type::Int16 |
|
||||||
Type::Uint32 |
|
Type::Uint32 |
|
||||||
Type::Int32
|
Type::Int32 |
|
||||||
|
Type::BigInt64 |
|
||||||
|
Type::BigUint64
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,56 +1,7 @@
|
||||||
[getRandomValues.any.worker.html]
|
[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]
|
[Float16 arrays]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Subclass of BigInt64Array]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Subclass of BigUint64Array]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
|
|
||||||
[getRandomValues.any.html]
|
[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]
|
[Float16 arrays]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Subclass of BigInt64Array]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Subclass of BigUint64Array]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue