ladybird/Tests/LibWeb/Text/expected/Crypto/Crypto-getRandomValues-respects-subarrays.txt
Luke Wilde 023c3aa5b0 LibWeb: Respect subarrays in Crypto#getRandomBytes
It is the responsibility of code that deals with TypedArrays to apply
the byte offset and byte length. Not doing this caused Unity Web to
crash, as they call getRandomValues with views into their full main
memory. Previously, it would fill their entire memory of about 33.5 MB
with random bytes.
2024-12-10 06:44:00 -08:00

2 lines
67 B
Text

Is first 2 bytes still 0x41? true
Is last 6 bytes still 0x41? true