ladybird/Tests/LibWeb/Text/expected/Wasm/WebAssembly-grow.txt
Diego Frias 3be7e88903 LibWeb/WebIDL: Throw correct error when converting integers
When an integer doesn't fit within the range of an integral type
defined by WebIDL, the spec says to throw a `TypeError`, not a
`RangeError`.
2024-08-18 23:35:02 +02:00

3 lines
225 B
Text

Made memory [object WebAssembly.Memory] with buffer [object ArrayBuffer] (byteLength 655360)
After growing buffer (byteLength 983040)
Got error: 'TypeError: Number '4294967296' is outside of allowed range of 0 to 4294967295'