Sign in
webkit
/
WebKit
/
7e879361fb932be61b4de77d5f6669f663c67d9c
/
.
/
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"
;