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