Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
gc
/
bug1191756.js
blob: b52203a9d1f5e201b9ff1c87a89a8b19a8fee6bc [
file
] [
log
] [
blame
]
if
(
typeof
'oomAtAllocation'
===
'undefined'
)
quit
();
function
fn
(
i
)
{
if
(
i
==
3
)
return
[
"isFinite"
].
map
(
function
(
i
)
{});
return
[];
}
try
{
fn
(
0
);
fn
(
1
);
fn
(
2
);
oomAtAllocation
(
50
);
fn
(
3
);
}
catch
(
e
)
{
// Ignore oom
}