Sign in
webkit
/
WebKit
/
6fd57f0545e2ab789319dc828ca2e5959d39c256
/
.
/
JSTests
/
wasm
/
regress
/
wasm-memory-requested-more-than-MAX_ARRAY_BUFFER_SIZE.js
blob: 04e28f73acbf9c513f026a577d49f31674f44f7d [
file
] [
log
] [
blame
]
var
exception
;
try
{
new
WebAssembly
.
Memory
({
initial
:
0x8000
,
maximum
:
0x8000
}).
buffer
;
}
catch
(
e
)
{
exception
=
e
;
}
if
(
exception
!=
"Error: Out of memory"
)
throw
"FAILED"
;